forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: georgetamia on October 17, 2009, 07:36:50 pm
-
Whenever I put the
<?php
include "/home/taylorph/public_html/cpmfetch/cpmfetch.php";
$objCpm = new cpm("/home/taylorph/public_html/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(1,3);
$objCpm->cpm_close();
?>
Code on my site it gives me the error:
Warning: include(/home/taylorph/public_html/cpmfetch/cpmfetch.php) [function.include]: failed to open stream: No such file or directory in /home/taylorso/public_html/wordpress/wp-content/themes/dirtybrown/header.php on line 76
Warning: include() [function.include]: Failed opening '/home/taylorph/public_html/cpmfetch/cpmfetch.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/taylorso/public_html/wordpress/wp-content/themes/dirtybrown/header.php on line 76
Fatal error: Class 'cpm' not found in /home/taylorso/public_html/wordpress/wp-content/themes/dirtybrown/header.php on line 77
My Main site is www.taylorlautnersource.com
Gallery Site is www.taylorphotos.org
How can I fix this?
-
How are your domains related in terms of folder/path structure?
-
How are your domains related in terms of folder/path structure?
what do you mean?
-
Are
www.taylorlautnersource.com
andGallery Site is www.taylorphotos.org
on the same server and if yes, what's the absolute path of the webroot of the two domains?
-
Areandon the same server and if yes, what's the absolute path of the webroot of the two domains?
They are not on the same server.
-
Warning: include(/home/taylorph/public_html/cpmfetch/cpmfetch.php) [function.include]: failed to open stream: No such file or directory in /home/taylorso/public_html/wordpress/wp-content/themes/dirtybrown/header.php on line 76
Well, then I guess that the file that the error message says that it's missing is not there, and yeah: http://taylorlautnersource.com/cpmfetch/cpmfetch.php returns a 404 not found.
-
Well, then I guess that the file that the error message says that it's missing is not there, and yeah: http://taylorlautnersource.com/cpmfetch/cpmfetch.php returns a 404 not found.
I'm confused. The cpmfectch.php file is actually on taylorphotos.org and not taylorlautnersource.com so it's here http://www.taylorphotos.org/cpmfetch/cpmfetch.php
-
Please pardon the interruption,
georgetamia - you need to upgrade before doing anything else.
Your version is old and vulnerable. (taylorphotos.org)
<!--Coppermine Photo Gallery 1.4.20 (stable)-->
-
Please pardon the interruption,
georgetamia - you need to upgrade before doing anything else.
Your version is old and vulnerable. (taylorphotos.org)
<!--Coppermine Photo Gallery 1.4.20 (stable)-->
Done.
-
No, not done: now your site is running under cpg1.4.24, although the most recent stable release currently is cpg1.4.25, which leads me to believe that you're using auto-installers. Don't! Using auto-installers like Fantastico sucks and is unsupported. Upgrade as we suggested in the docs. No other upgrade method supported.
-
No, not done: now your site is running under cpg1.4.24, although the most recent stable release currently is cpg1.4.25, which leads me to believe that you're using auto-installers. Don't! Using auto-installers like Fantastico sucks and is unsupported. Upgrade as we suggested in the docs. No other upgrade method supported.
I did. I didn't use Fantastico. I downloaded 1.425 and uploaded it.