I get this error after running the install page -
Fatal error: main() [function.require]: Failed opening required 'udb_base.inc.php' (include_path='.:/usr/local/lib/php') in /home/ftpuser/asimpson/cpg/bridge/coppermine.inc.php on line 26
My web host runs in Safe Mode - Apache/2.0.52 (Unix) PHP/5.0.3. I have Chmod suggested folders to 777 as per documentation, I have also checked "define safe mode" is active in include file.
Not sure what else to check.
Any help would be greatly apprecaited.
Are you sure you're running 1.3.x? Looks like 1.4, which is still in alpha stage and has no support.
Quote from: kegobeer on March 03, 2005, 02:17:14 AM
Are you sure you're running 1.3.x? Looks like 1.4, which is still in alpha stage and has no support.
Ahh.. yes, it seems it was 1.4. Sorry.
I have installed 1.3.2 now and still have errors. I can't get past the install page. I input the data (which is correct) and it just reloads the page with these errors -
Undefined index: PATH_TRANSLATED in /home/ftpuser/asimpson/cg/install.php on line 21
Notice: Undefined offset: -1 in /home/ftpuser/asimpson/cg/install.php on line 22
I have checked through PhpAdmin and it has not written any files to the database. At least with 1.4 it created records, although I couldn't get it to work!
Any advice would be appreaciated greatly!!
You have to make some changes to your PHP setup if you use PHP5 with CPG 1.3.2 Please search th board for PHP5.
Quote from: Nibbler on March 04, 2005, 01:12:17 PM
You have to make some changes to your PHP setup if you use PHP5 with CPG 1.3.2 Please search th board for PHP5.
As I'm using a host so I have no control over how Php 5 is setup. Does this mean I cannot run cpg in its present form? (I had a quick read and that's what my understanding now is)
You need long arrays enabled to use CPG 1.3.2 with PHP5, if your host does not have that set the best idea would be to wait for 1.4 to be released, but I cannot give you a date on that.
You can always ask your host to enable long arrays for you. It never hurts to ask.
a decent webhost should have no problems with enabling this for you - in fact, it's even recommended to enable long arrays in the first place, to provide backwards compatibility.
Joachim
Quote from: GauGau on March 04, 2005, 02:40:58 PM
a decent webhost should have no problems with enabling this for you - in fact, it's even recommended to enable long arrays in the first place, to provide backwards compatibility.
Joachim
thank you all for your responses!
I will ask my host to enable long arrays if possible, if not I'll wait for 1.4.