coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: spearedfish on January 16, 2006, 01:48:23 AM

Title: No config button since upgrading to 1.4
Post by: spearedfish on January 16, 2006, 01:48:23 AM
I had 1.3.5 before upgrading to 1.4.3 today. And ever since I upgraded, when I'm in admin mode, the config button does not work anymore. When I looked at the files that were in the cpg143 directory, config.php was not there. So I re-downloaded it and again, it's not there. How are you supposed to edit the board parameters with 1.4.3?

Here is the error I get when trying to click on the blank config web page:
Fatal error: Call to undefined function: db_query() in /home/XXXX/public_html/gallery/config.php on line 461

Did I forget to do something while upgrading? Please help.  ???

Here are some screenshots:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.twoweekwait.com%2Fblog_images%2Fno-config.gif&hash=10eb88c8f0678cd0aca087d93433ff140f062efa)
this shows the missing config button, but it's still clickable which takes you to the old config.php page, see next screenshot:

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.twoweekwait.com%2Fblog_images%2Fno-config2.gif&hash=861ab87bd2fb9d82f859ca92927c961f5912095e)
This is all that displays on my config.php page now.
Title: Re: No config button since upgrading to 1.4
Post by: Tranz on January 16, 2006, 01:50:29 AM
How did you go about upgrading without reading the instructions, which would have directed you to upgrade your theme:
http://coppermine-gallery.net/demo/cpg14x/docs/theme/index.html
Title: Re: No config button since upgrading to 1.4
Post by: spearedfish on January 16, 2006, 02:20:43 AM
I'm using the fiapplepink theme and it does not recognize the code: {SYS_MENU}<br />{SUB_MENU}

It still recognizes {MAIN_MENU}

Whenever I use {SYS_MENU}<br />{SUB_MENU} it just prints out the code on the screen. What is the code for the admin menu with buttons?

Please be nice, I'm new to all this.

Thanks,
Elle
Title: Re: No config button since upgrading to 1.4
Post by: Tranz on January 16, 2006, 02:31:54 AM
Quote from: spearedfish on January 16, 2006, 02:20:43 AM
I'm using the fiapplepink theme and it does not recognize the code: {SYS_MENU}<br />{SUB_MENU}

It still recognizes {MAIN_MENU}

Whenever I use {SYS_MENU}<br />{SUB_MENU} it just prints out the code on the screen. What is the code for the admin menu with buttons?

Please be nice, I'm new to all this.

Thanks,
Elle
Did you read and follow the theme upgrade instructions?

Are you saying someone who volunteers countless hours to help countless people could be not nice? We are plenty nice but don't want to repeat ourselves when questions can be answered by reading the documentation or searching the forums. We get annoyed.

Being new does not excuse you from reading the docs.
Title: Re: No config button since upgrading to 1.4
Post by: penjanje.net on January 20, 2006, 05:29:35 PM
I'm using standard classic theme which I get with instalation of 1.4.3 and I still can't see config button. and if i manualy enter config.php I get this error:

Fatal error: Call to undefined function: db_query() in C:\Domains\penjanje.net\wwwroot\galerija\config.php on line 227

When I delete that page from config.php I get another error on line 551.  After deleting that line i see all config but can't save any new settings.. what to do...
Title: Re: No config button since upgrading to 1.4
Post by: Tranz on January 20, 2006, 05:33:03 PM
http://forum.coppermine-gallery.net/index.php?topic=26696.msg123098#msg123098
Title: Re: No config button since upgrading to 1.4
Post by: penjanje.net on January 20, 2006, 05:39:31 PM
I change language to english and it works whitout problem now.. And there is no croatian language in new version.. That's no good..
Title: Re: No config button since upgrading to 1.4
Post by: Tranz on January 21, 2006, 03:58:23 AM
It's up to someone who knows croatian to do the translation. The devs don't know all the languages, you know.
Title: Re: No config button since upgrading to 1.4
Post by: Joachim Müller on January 21, 2006, 06:12:34 AM
why don't you do the translation, refer to http://forum.coppermine-gallery.net/index.php?topic=20355.0