forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: garnetrose on December 08, 2005, 04:43:45 pm
-
Fatal error: Call to undefined function: cpg_display_help() in /home/keesterk/public_html/kassian/themes/sample/theme.php on line 798
I wasn't having any problems until I uploaded 130 photos and decided to try some different themes to see what they look like. After trying the fruity, I received the above error, and now I cannot fix it.
-
Did you replace all files when upgrading, assuming that this was an upgrade and not new installation?
-
was I supposed to upgrade first?
I'm trying to upgrade right now and this is the message:
Upgrading...
Initializing Parameters - Done.
Generating MySQL Backup - Done.
Generating Files Backup - Done.CREATE TABLE `cpg_favpics` ( `user_id` INT( 11 ) NOT NULL , `user_favpics` TEXT NOT NULL , PRIMARY KEY ( `user_id` ) ) COMMENT = 'Stores the server side favourites' - Table 'cpg_favpics' already exists
-
if I did a total re-install, is there a way to retrieve the 130 images I have already uploaded with the first version?
-
not if you haven't made a backup of your old install (both files and database dump). Why did you run a fresh install? Upgrading is easy...
-
I didn't install again, I ran the upgrade and received that error when I switched templates/theme. I only suggested maybe I need to re-install as I cannot even access the 'home' page or the admin stuff at all. I keep getting the same error as the previous post.
If it gets too complicated, however, I will re-install to a different directory and start over. I was trying to avoid this as I have 130 images uploaded already, but can't log in to admin to access config to change the template back or do anything for that matter.
Any suggestions? Just trying to do this as quickly as possible as I will be leaving for vacation soon.
Any help is appreciated greatly. :)
-
Why in the world is it attempting to load the sample theme?
Fatal error: Call to undefined function: cpg_display_help() in /home/keesterk/public_html/kassian/themes/sample/theme.php
can you post a link to your gallery?
-
The sample theme is still in the CVS. I even deleted my local copy before doing a CVS update and the folder got added again.
-
The sample theme is still in the CVS. I even deleted my local copy before doing a CVS update and the folder got added again.
well, why shouldn't it be there? We only removed the styleguide theme afaik.
-
Oh, it seemed from Donnoman's question, he didn't expect it to be there. Maybe I misunderstood. :-[
-
Why in the world is it attempting to load the sample theme?
Fatal error: Call to undefined function: cpg_display_help() in /home/keesterk/public_html/kassian/themes/sample/theme.php
can you post a link to your gallery?
http://kassian.keesterkovers.com/thumbnails.php?album=lastup&cat=0
is this want you wanted?
-
No, I expect the sample theme to be on the disk, because it is there for reference.
But it shouldn't be selectable as a valid theme, and it should never be included by init.inc.php, the only way I can think of is to force it with something like :
http://kassian.keesterkovers.com/thumbnails.php?album=lastup&cat=0&theme=sample
If you go to his site with:
http://kassian.keesterkovers.com/thumbnails.php?album=lastup&cat=0&theme=classic
You'll notice that the site works. So I'm assuming he's managed to select the sample theme from the config options. (I'll go back and fix that so they can't).
What I suggest is use the second url, to get to the config, and select "classic" or some other theme than "sample".
-
While config does allow users to select the sample theme, the theme works properly on my system. I can't reproduce the failure.
garnetrose did you modify the sample theme at all? Perhaps you need to upload it again.