Re: site alias problem

Mugur Rus <[email protected]> Mon, 4 Dec 2006 08:59:01 -0800 (PST)
Newsgroups gmane.comp.cms.campsite.general
Message-ID <[email protected]>
--0-1455285713-1165251541=:25751
Content-Type: text/plain; charset=iso-8859-1
Content-Id: 
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

It should get rid of the notice.

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

Mugur

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



=20
_________________________________________________________________________=
___________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
--0-1455285713-1165251541=:25751
Content-Type: application/x-httpd-php; name="index.php"
Content-Transfer-Encoding: base64
Content-Description: 4264912470-index.php
Content-Disposition: attachment; filename="index.php"

PD9waHAKCmhlYWRlcigiQ29udGVudC10eXBlOiB0ZXh0L2h0bWw7IGNoYXJz
ZXQ9VVRGLTgiKTsKCmdsb2JhbCAkX1NFUlZFUjsKZ2xvYmFsICRDYW1wc2l0
ZTsKZ2xvYmFsICRERUJVRzsKCi8vIGluaXRpYWxpemUgbmVlZGVkIGdsb2Jh
bCB2YXJpYWJsZXMKJF9TRVJWRVJbJ0RPQ1VNRU5UX1JPT1QnXSA9IGdldGVu
digiRE9DVU1FTlRfUk9PVCIpOwoKcmVxdWlyZV9vbmNlK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