|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
glob Error
When I try to install this (just to test it) I get a glob error.
"You really should upgrade PHP, seeing as you don't even have glob()." The host has PHP 5.2.0. Where are they supposed to upgrade to? PHP 5.2.0 is the latest version of PHP. Info - http://openfirsthelp.byethost18.com/dummy.php Install - http://openfirsthelp.byethost18.com/demo/ |
|
#2
|
|||||
|
|||||
|
Re: glob Error
From the phpinfo() output it looks like your specific configuration has glob() listed in the php.ini disable_functions (so, it's being detected as not existing-- that's really not a setup which had been considered when the code was written).
That being said, I've been inactive as far as openFIRST stuff goes for quite a while (and haven't contributed to the main codebase for about 3 years, now), so, I don't know of a way to work around that problem if you can't remove glob() from the disable_functions list. Hopefully Jamie will reply since he has a much better idea of things than I do. |
|
#3
|
|||||
|
|||||
|
Re: glob Error
We use glob() to detect plugins. The alternative is not something I want to maintain. (opendir(), etc.)
safe_mode is something that breaks a lot of software, unfortunately. It isn't very subtle or delicate in terms of the way it secures PHP--disable everything potentially dangerous. As for coding around it, I removed the compatibility version (Because we stopped supporting PHP3). That is not to say that it couldn't be added back--it's just something we hadn't considered. Of course, I could just use http://us3.php.net/manual/en/function.glob.php#71083 for it. Just file a bug so I don't forget. |
|
#4
|
|||
|
|||
|
Re: glob Error
You don't need to modify anything. I just thought I would test it to see how it worked and what it looked like. If I wanted anything I could program my own PHP script.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C18 v2.4 -- Syntax error where there is no syntax error | Joel J | Programming | 7 | 12-01-2007 17:27 |
| stupid Array error: Error [1300] stack frame too l | Validius | Programming | 7 | 27-01-2006 10:53 |
| ERROR | amateurrobotguy | Programming | 22 | 28-02-2005 17:28 |
| Error Message | Obi | Programming | 4 | 24-01-2004 20:10 |