Welcome to Geeklog, Anonymous Monday, October 14 2024 @ 05:07 pm EDT

Geeklog Forums

Upgrading to 1.4.0


Status: offline

donm1021

Forum User
Chatty
Registered: 12/31/05
Posts: 56
I am upgrading to 1.4.0 from 1.3.11sr3 and in the upgrade instructions it says to copy your existing config.php and lib-common.php over to the new files... is this correct or is there certain parts of the files that need to be copied over?

I just want to be clear before I start this upgrade. I can't afford to mess up the existing geeklog that I have setup. I do have it backed up.

Thanks!

Donm
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by donm1021: in the upgrade instructions it says to copy your existing config.php and lib-common.php over to the new files...

No, it doesn't say that. It says that these files contain information that should be copied over. Don't copy over the entire files.

bye, Dirk
 Quote

Status: offline

donm1021

Forum User
Chatty
Registered: 12/31/05
Posts: 56
Upgrade instructions "QUOTE -

As with a fresh install, edit your config.php and lib-common.php, basically just copying over the information from your old copies of these files.

- ENDQUOTE"


Copying over the information from your old copies - hmmm? and what information would that be? I would think unless stated it would mean the entire file - uh basically.

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
If you were supposed to copy over the files it would say so, don't you think?

"Information" refers to the information contained in those files, like paths. Basically, all your settings.

The config.php of new versions usually contains new settings, so you don't want to copy over your old config.php and lose those new settings. lib-common.php contains new or changed code, so using an old one would only break your site. The information you have to copy over is mainly the path to your config.php (and possibly other changes that certain plugins require).

I'm open to suggestions on how to make those instructions clearer, but I would have thought it was obvious that there's a difference between a file and "information".

bye, Dirk
 Quote

Status: offline

trip

Forum User
Junior
Registered: 10/08/03
Posts: 25
Dirk,

How about this. Update the new config.php and lib-common.php files with the settings from your old installation, i.e. SQL database information, and your site specific settings.
 Quote

Status: offline

winnerdk

Forum User
Full Member
Registered: 04/24/05
Posts: 339
Location:Panama City, Republic of Panama
I use DzSoft php editor, which allows me to open two files side by side. I can have the old config.php and the new config.php open at the same time, and just switch back and forth from one to the other by hitting the tab at the top. This allows me to easily spot the differences in the old and new files, and to see what needs to be changed or copied over. There is probably a better way, but this worked well for me.
 Quote

Status: offline

donm1021

Forum User
Chatty
Registered: 12/31/05
Posts: 56
ok, I edited the files as instructed and began the upgrade. I chose that it is an upgrade (not fresh install) and then the version I am upgrading from 1.3.11.

When I click on "next" I get the following error:

Warning: INST_doDatabaseUpgrades(/home/revivalp/sql/updates/mysql_1.3.11_to_1.4.0.php) [function.INST-doDatabaseUpgrades]: failed to open stream: No such file or directory in /home/revivalp/public_html/admin/install/install.php on line 825

Fatal error: INST_doDatabaseUpgrades() [function.require]: Failed opening required '/home/revivalp/sql/updates/mysql_1.3.11_to_1.4.0.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/revivalp/public_html/admin/install/install.php on line 825

Where do I go from here? My site is now non-working - in that all of my links now produce errors.

Your help is appreciated!

**NOTE - Since I posted this I did try re-uploading the "sql" directory to insure that I didn't miss a file somewhere - and now the error above is gone - but I get a new one as follows:

1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( cid int(10) unsigned NOT NULL auto_increment, sid varchar(40) NOT NULL, ' at line 1

**2Note - ok, I reuploaded the entire directory for the upgrade, and it now upgraded my geeklog.... however, my theme has been over written with what appears to be the professional theme that ships with the new version.

How do I get my theme back? Even when I upload my old theme... this same theme appears and does not change to my theme. Can anyone shed any light on this for me?

** FINAL NOTE - LOL - ok, I figured it all out and everything seems to be working properly. I think when I received the first error I FREAKED, but after going through it all again and reuploading and redoing the upgrade, it all seems to be working.

Whew!

Have a good one all!


 Quote

Status: offline

webeddy

Forum User
Junior
Registered: 01/29/05
Posts: 15
Location:Washington State
I am getting the same error you got. I uploaded the directory again, checked all the paths, and still get this error.

Warning: inst_dodatabaseupgrades(/home/webeddy/public_html/sql/updates/mysql_1.4.0_to_1.4.1.php) [function.inst-dodatabaseupgrades]: failed to open stream: No such file or directory in /home/webeddy/public_html/gl/admin/install/install.php on line 919

Fatal error: inst_dodatabaseupgrades() [function.require]: Failed opening required '/home/webeddy/public_html/sql/updates/mysql_1.4.0_to_1.4.1.php' (include_path='.:/usr/lib/php:/usr/local/lib/php'Wink in /home/webeddy/public_html/gl/admin/install/install.php on line 919

Looking at your message it looks like somebody gave you some help, but I don't see the answer here. How did you fix this?

Thanks,
webeddy
webeddy
 Quote

All times are EDT. The time is now 05:07 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content