Michal Hruska | 4 Dec 17:25

site alias problem

Hi,

I have new installation of campsite 2.6.3 on Fedora Core 4  
(mysql-4.1.16, php-5.0.4, httpd-2.0.54), database was upgraded from  
2.1.6. Virtual hosts for apache are set correctly, the same for  
publication inside of campsite administration. But I can not open the  
website. Every time i get error: "Internal out of range error:  
invalid publication alias... ". I can access admin interface  
normally. In apache error log, I can find:
PHP Notice:  Undefined variable: argc in /usr/local/campsite/www- 
common/html/index.php on line 31
for every attempt to open the site. Installation was without any  
problems.

Can somebody help me with that?

Thank you,
Michal

Mugur Rus | 4 Dec 17:59
Picon
Favicon

Re: site alias problem

Please copy the attached file (index.php) to /usr/local/campsite/www-common/html/

It should get rid of the notice.

For the "invalid publication alias" error: are you sure you set the publication alias correctly?
If so, please give me access to the system.

Mugur

--- Michal Hruska <Michal.Hruska <at> mdlf.org> wrote:
> Hi,
> 
> I have new installation of campsite 2.6.3 on Fedora Core 4  
> (mysql-4.1.16, php-5.0.4, httpd-2.0.54), database was upgraded from  
> 2.1.6. Virtual hosts for apache are set correctly, the same for  
> publication inside of campsite administration. But I can not open the  
> website. Every time i get error: "Internal out of range error:  
> invalid publication alias... ". I can access admin interface  
> normally. In apache error log, I can find:
> PHP Notice:  Undefined variable: argc in /usr/local/campsite/www- 
> common/html/index.php on line 31
> for every attempt to open the site. Installation was without any  
> problems.
> 
> Can somebody help me with that?
> 
> Thank you,
> Michal
> 
> 
(Continue reading)

Holman Romero | 4 Dec 17:49
Picon

Re: site alias problem

hi Michal !

have you tried to restart the template engine? if not, please do it !
it has been my rescuer sometimes.  let me know what happens and i will
take a look thoroughly on it if necessary.

On 12/4/06, Michal Hruska <Michal.Hruska <at> mdlf.org> wrote:
> Hi,
>
> I have new installation of campsite 2.6.3 on Fedora Core 4
> (mysql-4.1.16, php-5.0.4, httpd-2.0.54), database was upgraded from
> 2.1.6. Virtual hosts for apache are set correctly, the same for
> publication inside of campsite administration. But I can not open the
> website. Every time i get error: "Internal out of range error:
> invalid publication alias... ". I can access admin interface
> normally. In apache error log, I can find:
> PHP Notice:  Undefined variable: argc in /usr/local/campsite/www-
> common/html/index.php on line 31
> for every attempt to open the site. Installation was without any
> problems.
>
> Can somebody help me with that?
>
> Thank you,
> Michal
>
>

--

-- 
/holman
(Continue reading)

Picon
Favicon

Re: site alias problem

On 12/4/06, Michal Hruska <Michal.Hruska <at> mdlf.org> wrote:
> Hi,
>
> I have new installation of campsite 2.6.3 on Fedora Core 4
> (mysql-4.1.16, php-5.0.4, httpd-2.0.54), database was upgraded from
> 2.1.6. Virtual hosts for apache are set correctly, the same for
> publication inside of campsite administration. But I can not open the
> website. Every time i get error: "Internal out of range error:
> invalid publication alias... ". I can access admin interface

I got the same error once; after scratching my head for a while I
realized it was caused by campsite_server not running. Try
(re)starting it.

/Anders

--

-- 
Anders Jensen-Urstad
http://x.unix.se

Michal Hruska | 5 Dec 01:21

Re: site alias problem

Thank you guys for your answers. It's solved now, thanks to Mugur.  
The problem was in mysql password. It's not possible to use these  
characters in campsite password for myslq:
backslash - \
left or right parenthesis - ( )

Michal

On Dec 4, 2006, at 5:49 PM, Holman Romero wrote:

> hi Michal !
>
> have you tried to restart the template engine? if not, please do it !
> it has been my rescuer sometimes.  let me know what happens and i will
> take a look thoroughly on it if necessary.
>
>
> On 12/4/06, Michal Hruska <Michal.Hruska <at> mdlf.org> wrote:
>> Hi,
>>
>> I have new installation of campsite 2.6.3 on Fedora Core 4
>> (mysql-4.1.16, php-5.0.4, httpd-2.0.54), database was upgraded from
>> 2.1.6. Virtual hosts for apache are set correctly, the same for
>> publication inside of campsite administration. But I can not open the
>> website. Every time i get error: "Internal out of range error:
>> invalid publication alias... ". I can access admin interface
>> normally. In apache error log, I can find:
>> PHP Notice:  Undefined variable: argc in /usr/local/campsite/www-
>> common/html/index.php on line 31
>> for every attempt to open the site. Installation was without any
(Continue reading)

nkerkvliet | 7 Dec 16:10
Picon

Installing a test site

Good afternoon,

We're trying to install a test site as a duplicate to our current. However, we're not entirely sure which
files we should copy. Should we copy the campsite sources as well or just the current instance? Or simply
said: what do we need to do to set up a duplicate testing site?

Any help is appreciated!

Regards,

Holman Romero | 7 Dec 16:30
Picon

Re: Installing a test site

Good afternoon !

you can use the campsite-create-instance command to create a new
instance, then you should copy the files from 'files', 'images' and
'look' directories from the original 'www' directory to the new
instance 'www' directory.  finally you should copy the data from the
original database to the new instance database.

i know there are the campsite-backup-instance and
campsite-restore-instance commands and they create a full copy from an
instance and restore it, but i believe restoring will overwrite the
current working instance.

On 12/7/06, nkerkvliet <at> hotmail.com <nkerkvliet <at> hotmail.com> wrote:
> Good afternoon,
>
> We're trying to install a test site as a duplicate to our current. However, we're not entirely sure which
files we should copy. Should we copy the campsite sources as well or just the current instance? Or simply
said: what do we need to do to set up a duplicate testing site?
>
> Any help is appreciated!
>
> Regards,
>

--

-- 
/holman

Paul Baranowski | 8 Dec 20:54
Picon

Re: Installing a test site

You can use the "campsite-backup-instance" and
"campsite-restore-instance" commands for this - that is what they were
designed to do.  Simply type these commands without arguments to get the
help for them.

- Paul

Holman Romero wrote:
> Good afternoon !
> 
> you can use the campsite-create-instance command to create a new
> instance, then you should copy the files from 'files', 'images' and
> 'look' directories from the original 'www' directory to the new
> instance 'www' directory.  finally you should copy the data from the
> original database to the new instance database.
> 
> i know there are the campsite-backup-instance and
> campsite-restore-instance commands and they create a full copy from an
> instance and restore it, but i believe restoring will overwrite the
> current working instance.
> 
> 
> On 12/7/06, nkerkvliet <at> hotmail.com <nkerkvliet <at> hotmail.com> wrote:
>> Good afternoon,
>>
>> We're trying to install a test site as a duplicate to our current.
>> However, we're not entirely sure which files we should copy. Should we
>> copy the campsite sources as well or just the current instance? Or
>> simply said: what do we need to do to set up a duplicate testing site?
>>
(Continue reading)

Comment Posts

I'm having some difficulty with comment posts...

The error I'm getting is:

 Fatal error:  Call to a member function on a non-object in
/usr/local/campsite/www-common/html/comment_lib.php on line 150

I'm unable to post any comments to a story that has no comments.
However, if an old story has comments, I am able to post additional
comments.

TIA,
Chris

Holman Romero | 9 Dec 17:55
Picon

Re: Comment Posts

hi Chris!
what Campsite version are you using?

On 12/9/06, Christopher Palermo <cpalermo <at> wayuga.com> wrote:
> I'm having some difficulty with comment posts...
>
> The error I'm getting is:
>
>  Fatal error:  Call to a member function on a non-object in
> /usr/local/campsite/www-common/html/comment_lib.php on line 150
>
> I'm unable to post any comments to a story that has no comments.
> However, if an old story has comments, I am able to post additional
> comments.
>
> TIA,
> Chris
>

--

-- 
/holman


Gmane