forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: Tiggs on December 13, 2003, 11:38:48 pm

Title: install errors cpgnuke1.2.1
Post by: Tiggs on December 13, 2003, 11:38:48 pm
Trying to install coppermine on php 4.3.4 - phpnuke 6.9 - Apache2 - mySQL 3.23.58 on Windows XP Pro and getting this error:


Warning: main(mainfile.php): failed to open stream: No such file or directory in C:\Server\Apache2\htdocs\CPG\modules\coppermine\include\load.inc.php on line 9

Fatal error: main(): Failed opening required 'mainfile.php' (include_path='.;c:\php4\pear') in C:\Server\Apache2\htdocs\CPG\modules\coppermine\include\load.inc.php on line 9


I've tried the FAQ's and searching this bb with no luck. I see in the instructions it says chmod 777 certain folds. I've searched the web on this and I cant tell if this is something I can do on Windows or on UNIX and Linux only.

Any help would be great.

Thanks
Title: install errors cpgnuke1.2.1
Post by: DJMaze on December 14, 2003, 01:00:55 am
probably the chdir() command in install.php isn't allowed try this:

modules.php?name=coppermine&file=install
Title: install errors cpgnuke1.2.1
Post by: Tiggs on December 14, 2003, 03:48:13 am
I have no idea where I am supose to put that. In the install.php file if so where? In the url to install it?

Thanks for your help.
Title: install errors cpgnuke1.2.1
Post by: Tiggs on December 14, 2003, 04:22:42 am
I got it to install. Mistake on my part in a way. When I download the cpgnuke1.2.1.zip file the were a couple of folders before you get to the guts of the folder. After unzipping the breakdown looks like this: c:\cpgnuke1.2.1\release\htmlCPG1.2.1\then all the folders and files you need. In the install text file it says
Quote
Upload all content of this zip excluding this readme
. I thought this might be wrong but I didnt know for sure so i created a folder of my choosing in the root directory and tried to install that way. So I just took the guts of the module and created a new zip and re-unzipped them to their correct folders.

Why someone created the zip file this way i will never know. It should be double zipped with the first zip containing the install text and the zipped program. Would save a lot of time. IMHO.  :D

Why am I saying all this? So incase someone else does the same thing they might read this and get their fix.

Thanks for your help DJMaze.
Title: Thanks for the post!
Post by: fortunecookie on December 15, 2003, 04:33:32 am
I had the same issue, once I read your post I understood what to do..
Thanks.