Upgrade and Migration Problems

Having trouble installing serendipity?
Post Reply
pwalter
Regular
Posts: 7
Joined: Sun Jun 24, 2007 11:45 pm

Upgrade and Migration Problems

Post by pwalter »

Hi
I migrated my http://www.hipresurfacingnews.com to a new server. It was not working right and I tried an upgrade to 2.0.1. GoDaddy did the migration with the old blog moved as http://www.surfacehippy.info/new.hipresurfacingnews.com It seemed to work then. When they moved it to the new server, then it was became http://www.hipresurfacingnews.com The hipresurfacingnews.com is hosted by my http://www.surfacehippy.info hosting.

Now I have this error on the front page in many places
serendipity error: could not include @serendipity_categories_plugin:5067fa3db43b324817bd10e24b8a73fe - exiting

I have downloaded the mysql data base section serendipity_config.sql I see the serendipity path is still
/home/surfacehippy/public_html/new.hipresurfacingnews.com I keep editing it, saving it and importing back into mysql But the PHPmyadmin won't seem to let it change.

I also can't log into the admin section. Getting

Fatal error: Uncaught --> Smarty: Unable to load template file 'admin/overview.inc.tpl' <-- thrown in /home/surfacehippy/public_html/hipresurfacingnews.com/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php on line 129

I have worked 2 days trying to figure it out, but just can't.

Do you have any suggestions? I just don't know what else to do. The site is about 9 years old and I would like it up and running.

Thank You for any suggestions. I really appreciate it.

Patricia
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Upgrade and Migration Problems

Post by Timbalu »

Hmm, it seems you have the 2.0.1 already announced in the backend, but your frontend is still announced as Serendipity 1.6.

You get all these "serendipity error: could not include @serendipity_***_plugin:1234**" - exiting errors, since you have not upgraded yet and the Serendipity upgrader hasn't run through.

So I guess, there is some installation path mismatch, or even more exactly, that you did not upload a complete new 2.0.1 update to the server, or both. Your error "Fatal error: Uncaught --> Smarty: Unable to load template file 'admin/overview.inc.tpl'" indicates, that at least the complete (or partly) 2k11 admin directory with all the backend templates files is missing or not found.

What I would do now, is to
  • First fix and clear all these strange path settings with oldserver - newserver,
  • Check the new path in the root blogs .htaccess file to reflect possible changes and also in your database "serendipity_config" table, if anything has really changed in reality. You said PhpMyAdmin does not let you change the path. I can't imagine why. But this is somehow essential to do, to get access again.
  • Upload a complete new FULL Serendipity package again, forcing the FTP transfer utility to strictly overwrite files and use the auto/binary mode.
  • Check your file/directory permissions before, see http://www.s9y.org/11.html#A15
That should get you on the road ... to access the upgrader or backend.

If that all does not help, open up and check the serendipity_config_local.inc.php file to set the version to

Code: Select all

$serendipity['versionInstalled']  = '1.6';
This should force the upgrader to go to work.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
pwalter
Regular
Posts: 7
Joined: Sun Jun 24, 2007 11:45 pm

Re: Upgrade and Migration Problems

Post by pwalter »

Thank You for taking time to write. I will work at the changes you suggested.

I really appreciate your suggestions.

Pat
pwalter
Regular
Posts: 7
Joined: Sun Jun 24, 2007 11:45 pm

Re: Upgrade and Migration Problems

Post by pwalter »

I uploaded 2.0.1 light, checked paths and properties of files and pages. Now the front page looks the same, but when I log in at the admin page I have

== SERENDIPITY ERROR ==

Cannot modify header information - headers already sent by (output started at /home/surfacehippy/public_html/hipresurfacingnews.com/serendipity_config_local.inc.php:23) in /home/surfacehippy/public_html/hipresurfacingnews.com/include/functions_config.inc.php on line 716

I also get the same when I put 1.6 into the config_local.inc.php page

I am still working on it.

Pat
onli
Regular
Posts: 2825
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Upgrade and Migration Problems

Post by onli »

To avoid possible errors, in a case like that better use the normal version, not the lite package.
Good luck!
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Upgrade and Migration Problems

Post by Timbalu »

EDIT-UPDATE: Please check the bottom (5) mentioned serendipityBaseURL mismatch before. This may be the cause of the first two. If that was it, try to process the upgrader again by the version reset (4).
_______________________________________________________________________________

1.) Ok. It now seems to, that you really did transfer some more new files. But these line numbers of the mentioned files indicate, that these still aren't the new ones. Please transfer them again, in special for all the root files and all the /include directories files. This is just to check up.
______________________________________________________________________________

2.) On the other hand, this error: Cannot modify header information - headers already sent by (...) often happens, when you have an output happening untimely, since functions that send or modify HTTP headers must be invoked before any output is made. In your case this probably is about setcookie().
Output can be:

Unintentional:
Whitespace before <?php or after ?>
The UTF-8 Byte Order Mark specifically (UTF-8 (lang-) files need to use UTF-8 without BOM)
Previous error messages or notices

Intentional:
print, echo and other functions producing output
Raw <html> sections prior <?php code.
Did you do something of this somewhere? (You really have 2 blank lines set on top of your html source code and the streamed serendipity css file output, which for the latters might be the cause of it, and which are NOT in working releases!)
____________________________________________________________________________________

3.) As I already said, take the FULL Serendipity package and upload again. What comes in a little strange is that you seem to have used the FULL package before and now uploaded the LITE package, which currently has a known bug, missing a certain file. This file is already there, that is why I suggest you have used the correct package before. So please lets stick to the FULL pack. There is not a real difference any more with 2.0x, which would allow us to keep and provide this LITE package any longer. (We should remove it from the download page though!)

When you have that done.

__________________________________________________________________________________

4.) Did you get to the upgraders page? Did you see this message?
A list of internal plugins that previously lived in include/plugin_internal.inc.php were moved into the proper plugins/ subdirectory structure. This task will migrate any possible references to such plugins to the new format.
Did you get to this question, allowing to set the automatted upgrade tasks?
Do you wish me to perform the above tasks?
Did you answer it by Button click?, with
Yes, please do so
That should have forced the upgrade task to prevent the errors you have in your frontend.
If not, you will have to reset the version in serendipity_config_local.inc.php file again to the version you came from. This will proceed the upgrader run, where you would have to answer these questions right.

_______________________________________________________________________________

5.) Also you have set serendipityBaseURL to http://www.surfacehippy.info/hipresurfacingnews.com/ which should be http://www.hipresurfacingnews.com/ in Configuration - Path - URL to Blog. This will prevent some others errors you have.

__________________________________________________

Enough for the time being. :)

_______

PS. One last thing I noticed. You should learn how to use the Serendipity Image Library for blog post images. You were not using it until now. This might have been, while you probably used the old core delivered XINHA WYSIWYG Editor with its own image generator tool and did not recognize the Serendipity Image Library button, I assume. Things will get easier now, when you have upgraded sucessfully, since the new core WYSIWYG Editor won't let you do anything else. (Linking to other outgoing ressources can still be put-in by hand, in source code view.)
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
pwalter
Regular
Posts: 7
Joined: Sun Jun 24, 2007 11:45 pm

Re: Upgrade and Migration Problems

Post by pwalter »

Thank You. I really appreciate the time you have taken to help me.

I was away yesterday, but will take your suggestions including using full instead of light.

I will work hard to get it working with your help.

Thanks again.

Pat
pwalter
Regular
Posts: 7
Joined: Sun Jun 24, 2007 11:45 pm

Re: Upgrade and Migration Problems

Post by pwalter »

I want to Thank You again.

I gave up with trying to save the migration. I just went back to my hosting on the old server for now since it is good until Jan.

I will try to do a migration myself at a later time. At least the site is up and working for now.

All of this is very complicated. I am slowly learning.

I certainly do appreciate your help. It is invaluable to have these discussion groups to help people.

Thanks again.

Pat
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Upgrade and Migration Problems

Post by Timbalu »

:( You were not so far away...
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Jedate
Posts: 1
Joined: Wed Feb 15, 2017 9:13 am

Re: Upgrade and Migration Problems

Post by Jedate »

Thanks Timbalu I was getting the exact same errors and thanks to your posts I got my site up and running again. Much appreciated!
Post Reply