Forum Subject: CAN login [as admin] BUT CANT edit/add/change/delit

Posted on: 08/05/03 04:07pm
By: Anonymous (nick)

win2k localhost:80 php 4.2 apache 1.3 MySQL GL 1.3.8 register_globals = on ------------------------- whats wrong Frown . thanks

Re:CAN login [as admin] BUT CANT edit/add/change/delit

Posted on: 08/05/03 04:14pm
By: DTrumbower

See if this helps.

Re:CAN login [as admin] BUT CANT edit/add/change/delit

Posted on: 08/05/03 04:52pm
By: Anonymous (nick)

thanks i use ----------------------------------------------------------- $_CONF[\'cookiedomain\'] = \'.localhost\'; $_CONF[\'site_url\'] = \'http://localhost:80/geek/public_html\'; ----------------------------------------------------------- thats true? for example (of problem) http://localhost/geek/public_html/admin/link.php?mode=edit and http://localhost/geek/public_html/admin/link.php pages has same screen-link.php thanks.

Re:CAN login [as admin] BUT CANT edit/add/change/delit

Posted on: 08/05/03 05:00pm
By: Dirk

Are you sure you have register_globals=on? That\'s the typical behaviour when it\'s off ... bye, Dirk

Re:CAN login [as admin] BUT CANT edit/add/change/delit

Posted on: 08/05/03 05:16pm
By: Anonymous (nick)

thanks! It works!

Re:CAN login [as admin] BUT CANT edit/add/change/delit

Posted on: 08/07/03 05:31pm
By: Anonymous (JoeA)

OK, I have checked those things and see that they are set but still cannot post/change/delete etc.... Here\'s what I\'ve got: /etc/php.ini [snip] register_globals = On (after changing this variable to On i restarted the webserver.) /home/webroot/mydomain.com/geeklog/config.php [snip] $_CONF[\'cookiedomain\'] = \'.my.domain.com\' this is the path to the directory containing config.php $_CONF[\'path\'] = \'/home/webroot/mydomain.com/family/geeklog/\' $_CONF[\'site_url\'] = \'http://family.mydomain.com\' // $_CONF[\'path_html\'] = \'/path/to/your/public_html/\' $_CONF[\'path_html\'] = \'/home/webroot/mydomain.com/family/\' I moved the content out of public_html into a directory called family. Family is the root directory for my website which is mapped on the server to http://family.mydomain.com/. I can log in, create users, click around, but as in Nick\'s case cannot modify anything. I also set the log value to \"true\" for most of the geeklog files involved but haven\'t seen any indicative entries yet. Frown Thanks for any help, Joe

Re:CAN login [as admin] BUT CANT edit/add/change/delit

Posted on: 08/07/03 06:09pm
By: Dirk

[QUOTE BY= JoeA]I can log in, create users, click around, but as in Nick\'s case cannot modify anything.[/QUOTE] So what happens if you try Nick\'s example above (link.php)? And are you sure you changed the right copy of php.ini? You may have more than one. Try calling up the install script again (just the first page). It should tell you in red writing if register_globals is still off. If it doesn\'t, then it\'s something else and we would need more information about your setup. bye, Dirk

Re:CAN login [as admin] BUT CANT edit/add/change/delit

Posted on: 08/07/03 07:06pm
By: Anonymous (JoeA)

Works now.... *phew* I just installed a new ver of php (php-4.3.3RC2), and replaced the old /etc/php.ini file with the new, setting register_globals = On and restarting my webserver, but THAT didn\'t work. I checked the install.php file as you recommended and sure enough the red writing told me it wasn\'t recognizing that line. What DID work was copying php.ini into a different directory as recommended in the INSTALL doc for PHP -- /usr/local/lib/php.ini After a quick restart the red text in install.php went away. *sigh* It was unclear to me where that elusive file was supposed to go, or how php knew where to look for it...now i know. Smile Thanks for your help! JoeA

Geeklog - Forum Subject: CAN login [as admin] BUT CANT edit/add/change/delit
https://www.geeklog.net/forum/viewtopic.php/23003