Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 10:20 pm EST
Geeklog Forums
complaints about register_globals = on/off and other things not working
upro
Anonymous
Hi there!
First of all I would like to state that the ggeklog protal is really very nice, much cleaner than the other portals I know.
I am looking for a portal I can convert intoa school portal for teachers, students, the secretary etc., and I think geeklog as a good choice.
While installing/configuring I had the following problems:
When calling the install.php script for the first time (and every time after droping/receating the database) the script complains about that in my php.ini register_globals would be set to Off, but it is set to on.
Then, when accessing the portal I can't add or edit groups.
That's all for now - can anyone give me a had in resolving these issues?
Thanks!
Michael
First of all I would like to state that the ggeklog protal is really very nice, much cleaner than the other portals I know.
I am looking for a portal I can convert intoa school portal for teachers, students, the secretary etc., and I think geeklog as a good choice.
While installing/configuring I had the following problems:
When calling the install.php script for the first time (and every time after droping/receating the database) the script complains about that in my php.ini register_globals would be set to Off, but it is set to on.
Then, when accessing the portal I can't add or edit groups.
That's all for now - can anyone give me a had in resolving these issues?
Thanks!
Michael
13
7
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by upro: When calling the install.php script for the first time (and every time after droping/receating the database) the script complains about that in my php.ini register_globals would be set to Off, but it is set to on.
When the install script says that register_globals is off, then it really is off - I have yet to see a case where that warning message was wrong.
Check the usual, i.e. that you edited the correct config.php, that you restarted your webserver afterwards, and that you don't have any local .htaccess lying around that switch register_globals back off again.
bye, Dirk
12
12
Quote
upro
Anonymous
Hi Dirk!
The only line regarding register_globals from my php.ini is:
register_globals = on
I have no .htaccess on my system and nevertheless I get the error message. I have restarted apache several times, dropped and recreated the database etc. No change.
Any other idea?
Michael
The only line regarding register_globals from my php.ini is:
register_globals = on
I have no .htaccess on my system and nevertheless I get the error message. I have restarted apache several times, dropped and recreated the database etc. No change.
Any other idea?
Michael
9
12
Quote
Status: offline
vinny
Site Admin
Admin
Registered: 06/24/02
Posts: 352
Location:Colorado, USA
Many systems have more than one php.ini file on them, make sure that you changed all of them (or at least the correct one). Don't forget to restart your web server once you make the change.
You can always check http://site.url/admin/install/info.php and search for "register_globals" to check if register globals is turned on.
-Vinny
You can always check http://site.url/admin/install/info.php and search for "register_globals" to check if register globals is turned on.
-Vinny
11
9
Quote
upro
Anonymous
Thanks for your reply!
I have only one php.ini on my system, which is /etc/apache/php.ini. I have changed it some days ago, and apache is restarted... looks like a strange problem.
I'm not really form in apache compile options, but is it possible that there is an apache option that sets register_globals off?!??
I'll give it a try - and let you know ;-)
Michael
I have only one php.ini on my system, which is /etc/apache/php.ini. I have changed it some days ago, and apache is restarted... looks like a strange problem.
I'm not really form in apache compile options, but is it possible that there is an apache option that sets register_globals off?!??
I'll give it a try - and let you know ;-)
Michael
12
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by upro: I have only one php.ini on my system, which is /etc/apache/php.ini.
Make sure this is actually where PHP looks for the file.
Upload a file that has only
Text Formatted Code
<?php phpinfo() ?>bye, Dirk
11
9
Quote
upro
Anonymous
Quote by Dirk:
Make sure this is actually where PHP looks for the file.
Upload a file that has only
in it (or use the one in admin/install/info.php) and call that up in your browser. In the very first block, it will tell you were it expects the php.ini.
bye, Dirk
Quote by upro: I have only one php.ini on my system, which is /etc/apache/php.ini.
Make sure this is actually where PHP looks for the file.
Upload a file that has only
Text Formatted Code
<?php phpinfo() ?>bye, Dirk
ok, progress. It says:
Configuration File (php.ini) Path: /usr/local/lib
The strange thing is that in that directory there is no file named php.ini. Nor in subdirectories. Nor dos the string "register_globals" occur in any file under that path, apart from php/Console/Getopt.php, where I see nothing that changes the value. MY recompile of apache didn't help, nor a recompile of php (both the most recent stable versions).
I'm clode to give up. Strange thingie that.
Michael
7
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by upro: I'm clode to give up. Strange thingie that.
Err, why? You're actually close to the solution: Copy the php.ini from /etc/apache to /usr/local/lib and restart your webserver one more time. That should be it (finally).
bye, Dirk
10
13
Quote
upro
Anonymous
uuhhhhh........
That's it!
I didn't assume that php used some built-in initialization file if it doesn't find one it is searching for. I ad thought php would complain about not finding its ini....
Well, anyway, now I go for it. Try if I can use it for my purpose.
Thanks!
Michael
That's it!
I didn't assume that php used some built-in initialization file if it doesn't find one it is searching for. I ad thought php would complain about not finding its ini....
Well, anyway, now I go for it. Try if I can use it for my purpose.
Thanks!
Michael
14
9
Quote
All times are EST. The time is now 10:20 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content