PHP Warning: main(/docs/www/index.php/html/db_connect.php): failed to
open stream: Not a directory in
/usr/local/campsite/sbin/campsite_autopublish.php on line 6
PHP Fatal error: main(): Failed opening required
'/docs/www/index.php/html/db_connect.php'
(include_path='.:/usr/share/pear') in
/usr/local/campsite/sbin/campsite_autopublish.php on line 6
I'm affraid you are busy, but can someone tell me where to look for a
solution for this? Maybe the firewall? Maybe the ISPconfig?
Thnx
2006/10/4, pedro@mesaderedaccion.com:
>
> Hello, everybody. At last, I installed Campsite in a CentOS server (No
> freeBSD available until one month ).
>
> No problem with the installation, but I decided to install the web
> (content) on the directories;
>
> /docs/www
> /docs/www-common
>
> And the rest (program) under /usr/local/campsite
>
>
> Now, in /docs/www there are two directories:
>
> /docs/www/campsite
> /docs/www/negocio (the name of the publication)
>
> I enter through http://ipaddress/admin and can change the password, create
> article types, but not a new publication.
>
> And in http://ipaddress/ I get the following error in the browser:
>
> "There were errors!
> Internal out of range error: invalid publication alias [ipaddress]"
>
> Besides Im receiving in the mail messages like this one:
>
> Subject: Cron
> /usr/local/campsite/sbin/campsite_autopublish
> X-Cron-Env:
> X-Cron-Env:
> X-Cron-Env:
> X-Cron-Env:
> X-Cron-Env:
>
> PHP Warning: main(/docs/www/index.php/html/db_connect.php): failed to
> open stream: Not a directory in
> /usr/local/campsite/sbin/campsite_autopublish.php on line 6
> PHP Fatal error: main(): Failed opening required
> '/docs/www/index.php/html/db_connect.php'
> (include_path='.:/usr/share/pear') in
> /usr/local/campsite/sbin/campsite_autopublish.php on line 6
>
> Any help would be really appreciated.
>
>
>
Please describe in detail all the steps you took when installing Campsite. From the error message
it seems you set these WWW directories without configuring it properly during the Campsite
install.
Regards,
Mugur
--- pedro@mesaderedaccion.com wrote:
> Hello, everybody. At last, I installed Campsite in a CentOS server (No
> freeBSD available until one month ).
>
> No problem with the installation, but I decided to install the web
> (content) on the directories;
>
> /docs/www
> /docs/www-common
>
> And the rest (program) under /usr/local/campsite
>
>
> Now, in /docs/www there are two directories:
>
> /docs/www/campsite
> /docs/www/negocio (the name of the publication)
>
> I enter through http://ipaddress/admin and can change the password, create
> article types, but not a new publication.
>
> And in http://ipaddress/ I get the following error in the browser:
>
> "There were errors!
> Internal out of range error: invalid publication alias [ipaddress]"
>
> Besides Im receiving in the mail messages like this one:
>
> Subject: Cron
> /usr/local/campsite/sbin/campsite_autopublish
> X-Cron-Env:
> X-Cron-Env:
> X-Cron-Env:
> X-Cron-Env:
> X-Cron-Env:
>
> PHP Warning: main(/docs/www/index.php/html/db_connect.php): failed to
> open stream: Not a directory in
> /usr/local/campsite/sbin/campsite_autopublish.php on line 6
> PHP Fatal error: main(): Failed opening required
> '/docs/www/index.php/html/db_connect.php'
> (include_path='.:/usr/share/pear') in
> /usr/local/campsite/sbin/campsite_autopublish.php on line 6
>
> Any help would be really appreciated.
>
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
I am now at the point of configuring the web server and I do not know how to do this - do you have an example I can follow?
I do not have a DNS entry as I am using a static IP address (this is an evaluation machine) so I don't know to edit: /usr/local/campsite/etc/campsite/campsite-vhost.conf
"and replace $SERVER_NAME with the appropriate value. Your system administrator should provide the server name. It must also be registered in the DNS (Domain Name Service)."
nor do I know how to:
"Include the file “[instance_name]-vhost.conf” in the main apache configuration file." Do I 'cut and paste' the contents of the vhost.conf file into /etc/apache/httpd.conf or is there a specific syntax to include another file?
if you are working on a local machine without using a DNS server, you
can create a simple entry in your "hosts file", usually it is placed
in "/etc/hosts".
i work that way, in my case my "hosts" file looks like this:
regarding the vhost file, you can include it by using something like this:
Include conf/vhosts/campsite-vhost.conf
if you are using apache 1.3.x you can simply copy and paste to the
corresponding vhost area into the httpd.conf file.
both cases, do not forget restarting apache
On 10/7/06, jdonth@donth.com wrote:
> Mugur,
>
> That fixed it!!! Thank you.
>
> I am now at the point of configuring the web server and I do not know how to do this - do you have an example I can follow?
>
>
> I do not have a DNS entry as I am using a static IP address (this is an evaluation machine) so I don't know to edit: /usr/local/campsite/etc/campsite/campsite-vhost.conf
>
> "and replace $SERVER_NAME with the appropriate value. Your system administrator should provide the server name. It must also be registered in the DNS (Domain Name Service)."
>
>
> nor do I know how to:
>
> "Include the file "[instance_name]-vhost.conf" in the main apache configuration file." Do I 'cut and paste' the contents of the vhost.conf file into /etc/apache/httpd.conf or is there a specific syntax to include another file?
>
> Thanks,
> Joe
>
I added the following line to the /etc/apache/httpd.conf file:
include /usr/local/campsite/etc/campsite/campsite-vhost.conf
When I attempt to restart apache I get the following error:
Syntax error on line 24 of /usr/local/campsite/etc/campsite/campsite-vhost.conf:
Invalid command 'Action', perhaps mis-spelled or defined by a module not included in the server configuration
Please advise,
The contents of the vhost file is:
DocumentRoot /usr/local/campsite/www/campsite/html
ScriptAlias /cgi-bin/ /usr/local/campsite/www/campsite/cgi-bin/
ServerName campsite
DirectoryIndex index.php index.html
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
The steps I took are the normal (I guess): localhost for the database and
SMTP server, default ports, user "apache" and group "apache", I inserted
the vhost.conf file into httpd.conf and changed the ServerName... Last time
I reinstalled campsite I used the default directories
/usr/local/campsite/www and /usr/local/campsite/www-common with the same
result:
There were errors!
Internal out of range error: invalid publication alias informes.info [the
domain I provisionally assigned to the server to test if there was and ip
address problem]
I can access the admin screen and login, but when I try to create a
publicaction I get a blank screen.
Thank you
2006/10/7, Mugur Rus :
>
> Please describe in detail all the steps you took when installing Campsite.
> From the error message
> it seems you set these WWW directories without configuring it properly
> during the Campsite
> install.
>
> Regards,
> Mugur
>
should we include this also in the online manual or the dev pages?
At 15:22 08.10.2006, you wrote:
>if you are working on a local machine without using a DNS server, you
>can create a simple entry in your "hosts file", usually it is placed
>in "/etc/hosts".
>
>i work that way, in my case my "hosts" file looks like this:
>
>192.168.0.1 campsite.localhost.localdomain campsite
>
>so, in the browser i can use either:
>
>http://campsite/
>
>or
>
>http://campsite.localhost.localdomain/
>
>
>regarding the vhost file, you can include it by using something like this:
>
>Include conf/vhosts/campsite-vhost.conf
>
>if you are using apache 1.3.x you can simply copy and paste to the
>corresponding vhost area into the httpd.conf file.
>
>both cases, do not forget restarting apache
>
>
>On 10/7/06, jdonth@donth.com wrote:
>>Mugur,
>>
>>That fixed it!!! Thank you.
>>
>>I am now at the point of configuring the web server and I do not
>>know how to do this - do you have an example I can follow?
>>
>>
>>I do not have a DNS entry as I am using a static IP address (this
>>is an evaluation machine) so I don't know to edit:
>>/usr/local/campsite/etc/campsite/campsite-vhost.conf
>>
>>"and replace $SERVER_NAME with the appropriate value. Your system
>>administrator should provide the server name. It must also be
>>registered in the DNS (Domain Name Service)."
>>
>>
>>nor do I know how to:
>>
>>"Include the file "[instance_name]-vhost.conf" in the main apache
>>configuration file." Do I 'cut and paste' the contents of the
>>vhost.conf file into /etc/apache/httpd.conf or is there a specific
>>syntax to include another file?
>>
>>Thanks,
>>Joe
>
>
>--
>/holman
A time ago i had a problem like that, i just went to
Actions -> Restart the template engine
in the main menu and it worked well. please, try this way and let us
know what happen.
On 10/9/06, digitalnegocio@gmail.com wrote:
> The steps I took are the normal (I guess): localhost for the database and
> SMTP server, default ports, user "apache" and group "apache", I inserted the
> vhost.conf file into httpd.conf and changed the ServerName... Last time I
> reinstalled campsite I used the default directories /usr/local/campsite/www
> and /usr/local/campsite/www-common with the same result:
>
> There were errors!
> Internal out of range error: invalid publication alias informes.info [the
> domain I provisionally assigned to the server to test if there was and ip
> address problem]
>
> I can access the admin screen and login, but when I try to create a
> publicaction I get a blank screen.
>
> Thank you
>
> 2006/10/7, Mugur Rus :
> > Please describe in detail all the steps you took when installing Campsite.
> From the error message
> > it seems you set these WWW directories without configuring it properly
> during the Campsite
> > install.
> >
> > Regards,
> > Mugur
> >
>
Gracias Holman, but it does not the trick. I have reinstalled everything so
many times and tried so many things... and the result is always the same.
The problem is now I'm trapped: I can't install freebsd until next month,
and I need the newspaper working this week or find another CMS which is
probably worst than Campsite.
2006/10/9, Holman Romero :
>
> A time ago i had a problem like that, i just went to
>
> Actions -> Restart the template engine
>
> in the main menu and it worked well. please, try this way and let us
> know what happen.
>
>
> On 10/9/06, digitalnegocio@gmail.com wrote:
> > The steps I took are the normal (I guess): localhost for the database
> and
> > SMTP server, default ports, user "apache" and group "apache", I inserted
> the
> > vhost.conf file into httpd.conf and changed the ServerName... Last time
> I
> > reinstalled campsite I used the default directories
> /usr/local/campsite/www
> > and /usr/local/campsite/www-common with the same result:
> >
> > There were errors!
> > Internal out of range error: invalid publication alias informes.info[the
> > domain I provisionally assigned to the server to test if there was and
> ip
> > address problem]
> >
> > I can access the admin screen and login, but when I try to create a
> > publicaction I get a blank screen.
> >
> > Thank you
> >
> > 2006/10/7, Mugur Rus :
> > > Please describe in detail all the steps you took when installing
> Campsite.
> > From the error message
> > > it seems you set these WWW directories without configuring it properly
> > during the Campsite
> > > install.
> > >
> > > Regards,
> > > Mugur
> > >
> >
>
>
> --
> /holman
>
yes, maybe the comments zone of the Campsite Manual is a good place,
it is very useful because users can read a little bit more about the
topic in the Manual where they are.
it would be better to create a couple of wiki pages like "Problems and
Common Errors" (for installation-related issues) and "Installation
troubleshooting".
On 10/9/06, Micz Flor wrote:
> hi holman,
>
> should we include this also in the online manual or the dev pages?
>
> At 15:22 08.10.2006, you wrote:
> >if you are working on a local machine without using a DNS server, you
> >can create a simple entry in your "hosts file", usually it is placed
> >in "/etc/hosts".
> >
> >i work that way, in my case my "hosts" file looks like this:
> >
> >192.168.0.1 campsite.localhost.localdomain campsite
> >
> >so, in the browser i can use either:
> >
> >http://campsite/
> >
> >or
> >
> >http://campsite.localhost.localdomain/
> >
> >
> >regarding the vhost file, you can include it by using something like this:
> >
> >Include conf/vhosts/campsite-vhost.conf
> >
> >if you are using apache 1.3.x you can simply copy and paste to the
> >corresponding vhost area into the httpd.conf file.
> >
> >both cases, do not forget restarting apache
> >
> >
> >On 10/7/06, jdonth@donth.com wrote:
> >>Mugur,
> >>
> >>That fixed it!!! Thank you.
> >>
> >>I am now at the point of configuring the web server and I do not
> >>know how to do this - do you have an example I can follow?
> >>
> >>
> >>I do not have a DNS entry as I am using a static IP address (this
> >>is an evaluation machine) so I don't know to edit:
> >>/usr/local/campsite/etc/campsite/campsite-vhost.conf
> >>
> >>"and replace $SERVER_NAME with the appropriate value. Your system
> >>administrator should provide the server name. It must also be
> >>registered in the DNS (Domain Name Service)."
> >>
> >>
> >>nor do I know how to:
> >>
> >>"Include the file "[instance_name]-vhost.conf" in the main apache
> >>configuration file." Do I 'cut and paste' the contents of the
> >>vhost.conf file into /etc/apache/httpd.conf or is there a specific
> >>syntax to include another file?
> >>
> >>Thanks,
> >>Joe
> >
> >
> >--
> >/holman
>
>
> Micz Flor - micz@mi.cz
>
> content and media development http://mi.cz
> --------------------------------------------------------
> http://www.campware.org -- http://www.suemi.de
> http://www.redaktionundalltag.de
> --------------------------------------------------------
>
>
could you give me login access to your server in order to check it out
what is happening there? if you can, please send me a private email
message.
On 10/9/06, digitalnegocio@gmail.com wrote:
> Gracias Holman, but it does not the trick. I have reinstalled everything so
> many times and tried so many things... and the result is always the same.
>
> The problem is now I'm trapped: I can't install freebsd until next month,
> and I need the newspaper working this week or find another CMS which is
> probably worst than Campsite.
>
>
> 2006/10/9, Holman Romero :
> > A time ago i had a problem like that, i just went to
> >
> > Actions -> Restart the template engine
> >
> > in the main menu and it worked well. please, try this way and let us
> > know what happen.
> >
> >
> > On 10/9/06, digitalnegocio@gmail.com < digitalnegocio@gmail.com> wrote:
> > > The steps I took are the normal (I guess): localhost for the database
> and
> > > SMTP server, default ports, user "apache" and group "apache", I inserted
> the
> > > vhost.conf file into httpd.conf and changed the ServerName... Last time
> I
> > > reinstalled campsite I used the default directories
> /usr/local/campsite/www
> > > and /usr/local/campsite/www-common with the same result:
> > >
> > > There were errors!
> > > Internal out of range error: invalid publication alias informes.info
> [the
> > > domain I provisionally assigned to the server to test if there was and
> ip
> > > address problem]
> > >
> > > I can access the admin screen and login, but when I try to create a
> > > publicaction I get a blank screen.
> > >
> > > Thank you
> > >
> > > 2006/10/7, Mugur Rus < mugur1973@yahoo.com>:
> > > > Please describe in detail all the steps you took when installing
> Campsite.
> > > From the error message
> > > > it seems you set these WWW directories without configuring it properly
> > > during the Campsite
> > > > install.
> > > >
> > > > Regards,
> > > > Mugur
> > > >
> > >
> >
> >
> > --
> > /holman
> >
>
>
----- Original Message -----
From: "Holman Romero"
To:
Cc:
Sent: Monday, October 09, 2006 4:05 PM
Subject: Re: [campsite-support] Problems after installation
> Hola!
>
> could you give me login access to your server in order to check it out
> what is happening there? if you can, please send me a private email
> message.
>
>
> On 10/9/06, digitalnegocio@gmail.com wrote:
>> Gracias Holman, but it does not the trick. I have reinstalled everything
>> so
>> many times and tried so many things... and the result is always the same.
>>
>> The problem is now I'm trapped: I can't install freebsd until next month,
>> and I need the newspaper working this week or find another CMS which is
>> probably worst than Campsite.
>>
>>
>> 2006/10/9, Holman Romero :
>> > A time ago i had a problem like that, i just went to
>> >
>> > Actions -> Restart the template engine
>> >
>> > in the main menu and it worked well. please, try this way and let us
>> > know what happen.
>> >
>> >
>> > On 10/9/06, digitalnegocio@gmail.com < digitalnegocio@gmail.com> wrote:
>> > > The steps I took are the normal (I guess): localhost for the database
>> and
>> > > SMTP server, default ports, user "apache" and group "apache", I
>> > > inserted
>> the
>> > > vhost.conf file into httpd.conf and changed the ServerName... Last
>> > > time
>> I
>> > > reinstalled campsite I used the default directories
>> /usr/local/campsite/www
>> > > and /usr/local/campsite/www-common with the same result:
>> > >
>> > > There were errors!
>> > > Internal out of range error: invalid publication alias informes.info
>> [the
>> > > domain I provisionally assigned to the server to test if there was
>> > > and
>> ip
>> > > address problem]
>> > >
>> > > I can access the admin screen and login, but when I try to create a
>> > > publicaction I get a blank screen.
>> > >
>> > > Thank you
>> > >
>> > > 2006/10/7, Mugur Rus < mugur1973@yahoo.com>:
>> > > > Please describe in detail all the steps you took when installing
>> Campsite.
>> > > From the error message
>> > > > it seems you set these WWW directories without configuring it
>> > > > properly
>> > > during the Campsite
>> > > > install.
>> > > >
>> > > > Regards,
>> > > > Mugur
>> > > >
>> > >
>> >
>> >
>> > --
>> > /holman
>> >
>>
>>
>
>
> --
> /holman
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.0.407 / Virus Database: 268.13.1/466 - Release Date: 07/10/2006
>
>