forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: adrianna on May 04, 2005, 06:35:10 pm

Title: creating a new category
Post by: adrianna on May 04, 2005, 06:35:10 pm
Hate to be a bother again, but as with before with gallery problem I have the same error
message, but with creating a new category.

I tried editing the $PHP_SELF to catmgr.php but there was so many $PHP_SELF in the coding I wasnt sure
which one to change, so I ended up making things a bit worse..

the error I get is this:

"The requested URL /catmgr.php was not found on this server."

Do I edit every single $PHP_SELF to catmgr.php or do I need to do something different.

I am using paid for webspace from Lycos, and using coppermine 1.3.3


Thanks

Adrianna
Title: Re: creating a new category
Post by: Nibbler on May 04, 2005, 06:49:28 pm
Look in your init.inc.php and find:

Code: [Select]
$PHP_SELF = isset($HTTP_SERVER_VARS['REDIRECT_URL']) ? $HTTP_SERVER_VARS['REDIRECT_URL'] : $HTTP_SERVER_VARS['SCRIPT_NAME'];
Then add after it

Code: [Select]
$PHP_SELF = ltrim($PHP_SELF, '/');
See if that helps.
Title: Re: creating a new category
Post by: adrianna on May 04, 2005, 06:57:56 pm
Thanks again for that its works fine now!


Thanks

Adrianna