[RESOLVED] Fatal error: Call to undefined function: init() in /mysite/bootstrap.inc on line 42
01user55
Joined: 2009-03-04
Posts: 44 |
![]() |
I have a multi-site installation with a core site and 2 more multi-sites (3 galleries in total). I cmod my config.php file to 644 and my gallery directory to 777 and tried again. Now I got a 500 internal server error, so I tried to find my error log, but there is none available, only an access log. I then chmod recursively all 3 of my g2data directories (there were thousands of files in there!). The upgrade instructions don't mention anything about permissions, but I did read about them in many posts. I can't access my installation to provide the other requested info. Can I simply copy the original files back to the server to get back to where I was before attempting the upgrade, or will Gallery know that I have removed and then replaced the files? What am I missing as far as upgrading to the more secure version (2.3.2)? Thanks for any assistance you can provide! |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
If the version you had before was earlier than 2.2.6, then you should roll back to that version from your backup and upgrade to 2.2.6 first, make sure that is working fine, take a backup and upgrade from 2.2.6 to 2.3.2. -- |
|
01user55
Joined: 2009-03-04
Posts: 44 |
![]() |
Dayo wrote:
If the version you had before was earlier than 2.2.6, then you should roll back to that version from your backup and upgrade to 2.2.6 first, make sure that is working fine, take a backup and upgrade from 2.2.6 to 2.3.2. Thanks for offering a suggestion Dayo, but as indicated by the information submitted using the form, I am attempting an upgrade from version 2.3.0. I wish I knew which files were new, then I could upload ONLY the changed files. Normally, Gallery supplies an option to upload and replace with a package of changed files ONLY, but this time we are only offered complete packages. I chose a minimal package, but originally upgraded from version 1 to 2 with a full package. I don't think that would make a difference (would it) since the minimal package would contain all the required new files. |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
Right. Well the form is supposed to show your current version and since you didn't explicitly state which version you were upgrading from, I couldn't tell exactly. Anyway, G2.3.0 to G2.3.2 should not cause any issues and if you are getting the error message in your title, it means perhaps you missed out some files when overwriting as "init" is a core function that should be in every G2 installation ... even 2.3.0 and the error message is saying the it can't be found (I.E., the file containing it is missing). You can try copying the file set again and having another go. If this fails, roll back to yesterday's backup of your site which should put everything back alright and try again, making sure you copy over the full file set. Not all G2 upgrades involve a small subset. -- |
|
01user55
Joined: 2009-03-04
Posts: 44 |
![]() |
Thanks Dayo! codex.gallery2.org/Gallery2:Modules:linksinhead is an application for making header links. |
|