Welcome to Geeklog Saturday, May 18 2013 @ 06:10 PM EDT
|
||||||||
![]() |
Forum Index > Support > Installation Support |
New Topic
|
Post Reply
|
1.4.1 -> 1.5.0 Config not read |
|||
| Anonymous: Jerry Green |
|
||||||
|
|
I have now been trying to upgrade from 1.4.1 to 1.5 for six weeks (see all my previous posts). I have followed all the advice given and I still have the same problem. Can anyone tell me exactly what database changes are made in this upgrade in the exact order that they occur because error messages are no help at all. With this information I think I will be able to diagnose the problem. Luckily after upgrade fails I can swiitch back to 1.4.1 files and most things seem to work.
Still getting exactly the same error at end of upgrade "1062: Duplicate entry '1' for key 1" If I then go to view my site I get: Fatal error: Cannot instantiate non-existent class: template in /home/sites/historyandnews.co.uk/public_html/lib-common.php on line 1481 There is an error.log file in my public_html directory with the entry: Mon Jul 28 20:01:21 2008 - 1146: Table 'web35-jerrygreen.gl_conf_values' doesn't exist. SQL in question: SELECT name, value, group_name FROM gl_conf_values WHERE (type <> 'subgroup' AND (type <> 'fieldset' In error.log in logs directory there are no entries. |
||||||
|
|||||||
| DubiousChrisJ |
|
||||||
![]() ![]() ![]() ![]() ![]() Regular Poster ![]() Status: offline ![]() Registered: 05/10/05 Posts: 114 |
After finally getting to the upgrade screen, and going through the install, everything went to crap. I would delete or edit a story, and it would go through the screens, but wouldn't actually write the data to the db, nor did it error. It would tell me it had completed successfully, but then my change would not be visible. That's enough experimenting for now for me, I'm afraid. I rolled back to 1.4.1, and will keep it there until I see some posts which address these issues.
Luhme summa dat GL. |
||||||
|
|||||||
| Anonymous: Jerry Green |
|
||||||
|
|
Is there anyone out there who can help me with the problems I am having. See above.
If not what package do you recommend to replace 1.4.1 as 1.5 doesn't appear to work. Do I just wait for 1.5.1? |
||||||
|
|||||||
| ironmax |
|
||||||
![]() ![]() ![]() ![]() ![]() Moderator ![]() Status: offline ![]() Registered: 06/20/03 Posts: 645 |
Quote by: Jerry Green Is there anyone out there who can help me with the problems I am having. See above. Jerry, Whats the info on your site for type of OS, web server, php ver? YOU may need to have someone else have a look at it. You know, get a fresh pair of eyes on it, maybe they can spot something that your just over looking. Its been known to happen, its even happened to me. Michael Have you tried just for grins...to see if you can install a fresh copy? If it works, then its something within your old files that you copied over. The only real files for geeklog that you need are the config.php and lib-custom.php files that I know of, that would need to be copied back over. Again, be sure to check the permissions. Have you seen the Geeklog Demo site? Check it out by clicking on the Demo Site link to the left under Resources - Getting started. |
||||||
|
|||||||
| Anonymous: Guest |
|
||||||
|
|
Quote by: Dirk To quote from the changelog: - In a tradeoff between security and convenience, we decided to go with security: The install script will no longer display the database credentials from db-config.php. The downside is that you will have to enter them again when doing a database upgrade or re-running the install (reported by Mark Evans) [Dirk] But it's not just the database info. It's everything that can be entered in the GUI during the setup. I think everything that isn't in the GUI is taken from config.php and everything that is in the GUI is taken from the defaults. Am I right? |
||||||
|
|||||||
| ironmax |
|
||||||
![]() ![]() ![]() ![]() ![]() Moderator ![]() Status: offline ![]() Registered: 06/20/03 Posts: 645 |
Quote by: Guest Quote by: Dirk To quote from the changelog: - In a tradeoff between security and convenience, we decided to go with security: The install script will no longer display the database credentials from db-config.php. The downside is that you will have to enter them again when doing a database upgrade or re-running the install (reported by Mark Evans) [Dirk] But it's not just the database info. It's everything that can be entered in the GUI during the setup. I think everything that isn't in the GUI is taken from config.php and everything that is in the GUI is taken from the defaults. Am I right? Just go with the defaults for now. Your primary concern is to get it installed and upgraded. Once you have that working, then go back and make the changes. To make it quite clear, only use the Professional theme when upgrading or installing. Michael Have you seen the Geeklog Demo site? Check it out by clicking on the Demo Site link to the left under Resources - Getting started. |
||||||
|
|||||||
| Anonymous: Guest |
|
||||||
|
|
Do you realize config.php has about 1000000000000 options? I rather get an answer whether everything that isn't in the GUI is taken from config.php.
|
||||||
|
|||||||
| ironmax |
|
||||||
![]() ![]() ![]() ![]() ![]() Moderator ![]() Status: offline ![]() Registered: 06/20/03 Posts: 645 |
Quote by: Guest Do you realize config.php has about 1000000000000 options? I rather get an answer whether everything that isn't in the GUI is taken from config.php. Yes I realize that...that is why I said to just go with the defaults for now. Change the obvious though. This way your not wasting to much time constantly running thru it every time. Your not really giving us much to go on, to help you figure out what the problem is. From start to finish. Details on what you are doing. What type of setup for the server do you have. Lets have some particulars. OS type: Linux or Windows PHP ver ? Did anything change in the PHP.ini file Web Serv type: Apache or IIS Are any of the files possibly corrupt? Did you try downloading a new copy of the archive? Any white spaces in the files at the end of the lines that you had edited? Please look into these areas Have you seen the Geeklog Demo site? Check it out by clicking on the Demo Site link to the left under Resources - Getting started. |
||||||
|
|||||||
| Anonymous: Guest |
|
||||||
|
|
I think you are confusing me with someone else. Just because I'm a guest, doesn't mean you should treat all the guests as one user and ignore their usernames...and I still like to know whether non GUI items are taken from config.php.
|
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
Quote by: Guest I still like to know whether non GUI items are taken from config.php. Geeklog 1.5.0 does not use the config.php at all (after the upgrade). bye, Dirk |
||||||
|
|||||||
| Anonymous: Guest |
|
||||||
|
|
Quote by: Dirk Quote by: Guest I still like to know whether non GUI items are taken from config.php. Geeklog 1.5.0 does not use the config.php at all (after the upgrade). bye, Dirk Let me rephrase - when I click the "upgrade" button, are all non GUI items taken from config.php, while all GUI items are taken from the defaults? |
||||||
|
|||||||
| Anonymous: Jerry Green |
|
||||||
|
|
Thanks for the reply. I was beginning to think there was no one there. I am on a Linux server with PHP 4.4.8 and MySQL 5.0.51a.
Does this help at all? |
||||||
|
|||||||
| ironmax |
|
||||||
![]() ![]() ![]() ![]() ![]() Moderator ![]() Status: offline ![]() Registered: 06/20/03 Posts: 645 |
Okay I know this might be generic, but I've seen people pass right over all or some of the following. This is not an insult to intelligence or anyone's character. However, please go thru this once more to see if you may have overlooked something.
Common Problems and Troubleshooting Before you go any further, please open siteconfig.php and double When you get an error message, please read it carefully. Even if you're not If you get more than one error message, always start with the very first Common errors (Line numbers will vary):
If you still have problems, please do one or more of the following:
Have you seen the Geeklog Demo site? Check it out by clicking on the Demo Site link to the left under Resources - Getting started. |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
Quote by: Guest Let me rephrase - when I click the "upgrade" button, are all non GUI items taken from config.php, while all GUI items are taken from the defaults? Not sure what you're trying to separate here ... When you run the install script in upgrade mode, it looks for a config.php in the usual place. If it's there, the values from config.php are used to initialize the Config GUI. If it's not there or can't be read, default values are used. The same is true for the config.php files for the bundled plugins (only that those are renamed after they're read, so you would need to undo that if you have to run the upgrade again for some reason). The database settings go into db-config.php and a handful of other options go into siteconfig.php, mostly for technical reasons (we obviously can't read the database settings from the database ...). And then there are a few new config options that didn't exist in config.php before - those will use defaults, obviously. HTH bye, Dirk |
||||||
|
|||||||
| Anonymous: Guest |
|
||||||
|
|
When you run the install script in upgrade mode, it looks for a config.php in the usual place. If it's there, the values from config.php are used to initialize the Config GUI. If it's not there or can't be read, default values are used. I always see default values in the GUI even though config.php is right there (the same one that v1.4.1 read so well).[/quote] It always tells me at first it can't find anything and I have to supply it the geeklog folder. But when I do, it doesn't seem to detect config.php there. |
||||||
|
|||||||
| Anonymous: Guest |
|
||||||
|
|
Although the GUI values are defaults, I can can confirm non GUI items ARE taken from config.php (for example, notification settings), so what gives?
|
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
Quote by: Guest Although the GUI values are defaults, I can can confirm non GUI items ARE taken from config.php (for example, notification settings), so what gives? Sorry, but I still don't understand what you mean by "GUI" and "non-GUI" values. There is no difference, as far as Geeklog is concerned. Are you saying that not all your old settings are copied from your config.php? If so, which ones? bye, Dirk |
||||||
|
|||||||
| Anonymous: Guest |
|
||||||
|
|
There are like 10 items in the GUI (site's name, database, password, email, etc.). The others are taken from config.php behind the stage (notifications, default commentcode, etc.).
In my case, the GUI items are just defaults, so I have to fill them out manually. But it seems the non GUI items are not defaults but items taken from config.php |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
So those are the ones you enter in the install script during the upgrade? In that case, everything is working as expected ...
bye, Dirk |
||||||
|
|||||||
| Anonymous: Jerry Green |
|
||||||
|
|
After a very long investigation I have found the file mysql_1.4.1_to1.5.0.php that details database changes for this upgrade. For some reason this file was not in the sql folder where such files are normally found.
the error I was getting was: "1062: Duplicate entry '1' for key 1" If I then go to view my site I get: Fatal error: Cannot instantiate non-existent class: template in /home/sites/historyandnews.co.uk/public_html/lib-common.php on line 1481 There is an error.log file in my public_html directory with the entry: Mon Jul 28 20:01:21 2008 - 1146: Table 'web35-jerrygreen.gl_conf_values' doesn't exist. SQL in question: SELECT name, value, group_name FROM gl_conf_values WHERE (type <> 'subgroup' AND (type <> 'fieldset' In error.log in logs directory there are no entries. I found that in the database gl_commentcodes` VALUES (0,'Comments Enabled' I now need to test my upgraded website. |
||||||
|
|||||||
| Content generated in: 2.56 seconds |
|
|
|