ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Problems after server move

April 09, 2008 8:57am

Subscribe [2]
  • #1 / Apr 09, 2008 8:57am

    Lindstrom

    30 posts

    Hi,

    I moved to a new server. Before I started I exported the database. After moving all other data to the new webspace I tried to import the old database. Unfortunately I always got a timeout - so I opened the SQL backup, copied all data in it and entered all in the SQl area in phpMyadmin. After that all 98 tables appeared and it seems to be ok. My front-end appears normally but there a some errors:

    1. The links now have this extension:

    ?phpMyAdmin=kNndvGURXcG53Cg,Aki99dthtA6

    2. When I try to go to the member profile I get this errors:

    Warning: Member::include_once() [function.include-once]: open_basedir restriction in effect. File(/srv/www/vhosts/mysite/httpdocs/cms/themes/profile_themes/default/profile_theme.php) is not within the allowed path(s): (/var/www/vhosts/mysite/httpdocs:/tmp) in /var/www/vhosts/mysite/httpdocs/cms/syscore/modules/member/mod.member.php on line 2191
    
    Warning: Member::include_once(/srv/www/vhosts/mysite/httpdocs/cms/themes/profile_themes/default/profile_theme.php) [function.include-once]: failed to open stream: Operation not permitted in /var/www/vhosts/mysite/httpdocs/cms/syscore/modules/member/mod.member.php on line 2191
    
    Warning: Member::include_once() [function.include]: Failed opening '/srv/www/vhosts/mysite/httpdocs/cms/themes/profile_themes/default/profile_theme.php' for inclusion (include_path='.:') in /var/www/vhosts/mysite/httpdocs/cms/syscore/modules/member/mod.member.php on line 2191
    
    Fatal error: Class 'profile_theme' not found in /var/www/vhosts/mysite/httpdocs/cms/syscore/modules/member/mod.member.php on line 2196

    3. All colors and so on are vanished in the admin area. Now it looks like on the attached screenshot.

    What did I wrong?

    Thanks and regards…


    P.S. I did not change the domain or any paths. I simply moved within the same provider from an Suse server to an Ubuntu server.

  • #2 / Apr 09, 2008 10:08am

    Robin Sowell

    13255 posts

    Let’s see if we can square away the include issue first.  Check this kblog entry- I’m actually thinking it’s a path issue rather than an open_base restriction, but I can’t be sure.

    So- go into ‘Admin- System Prefs’ and double check all of the urls and paths.  Make sure they’re correct, the folders and files exist where it’s looking for them, etc.

    If they exist- you may be running into a restriction- in which case, follow the kblog instructions, or try masking access- but and admin.php file on the same level as your themes folder and access the cp through it.

    Let’s get this working, then hit the url issue.  Make sense?

  • #3 / Apr 09, 2008 12:23pm

    Lindstrom

    30 posts

    Hi Robin,

    Thanks for your message. It seems there is something wrong with my new VPS. When try to configure my domain in Plesk I get this message:

    “Service is not available now, probably your Plesk is misconfigured.
    Contact Your provider for details.

    Internal Plesk error occurred: Unable to find the file /var/www/vhosts/mydomain at the specified location.”

    So there seems to be a problem which may could responsible for the EE problems as well. I will have to wait now until my provider replies my message.
    I get back to asap.

    Regards,
    Lars

  • #4 / Apr 09, 2008 12:37pm

    Robin Sowell

    13255 posts

    Yep- sounds like some oddness going on there.  Let’s see what the host says.  And just so I don’t lose the link- this was a good thread by someone setting up MSM on Plesk.  May not be relevant- so ignore for now.  But seems like Plesk can sometimes be tricky.

    Let us know when you hear back from the host.

  • #5 / Apr 10, 2008 4:17am

    Lindstrom

    30 posts

    Hi Robin,

    The problem is fixed. As we guessed something with the server path was wrong. The Plesk problem was a different story though. In Plesk was the directory “vhosts” for some reason deleted. I don´t know why and how…

    Anyway the problem with EE had this bottom:

    In Admin settings the template path was this:

    /srv/www/vhosts/mydomain.com/httpdocs/themes/

    and I had to change it to:

    /var/www/vhosts/mydomain.com/httpdocs/themes/

    So the 3 characters at the beginning caused the problem. Now it works fine.

    ————

    But why added the system the “phpmyadmin” extension to the links? I am sure that has to do with the database-backup import. Do I have to delete it manually from the templates or can I do this automatically?

    Thanks and regards,
    Lars

  • #6 / Apr 10, 2008 10:04am

    Robin Sowell

    13255 posts

    Halfway there- glad you got the paths sorted.  I’ve never seen the urls borked quite like that, so let’s figure out why.  If you go into the templates- see anything there?  We need to try and narrow down where exactly those things are coming from.  And I’ll search google- has to have happened before.  The easy thing may end up being a re-import, but I’d like to know where and why they’re there before deciding.

  • #7 / Apr 11, 2008 2:47am

    Lindstrom

    30 posts

    Hi Robin,

    Yes, the path entries in the templates are extended with the phpmyadmin stuff. When I delete it in the templates everything is ok.

    But please note: Also in a new installation (no backup) I have these extensions in your demo weblog. As I started with EE a month ago I already noticed that but I thought that´s a specific thing in your demo.

    However, I don´t know why that happens during the installation but as long as I have just a few templates I can fix it easily by deleting the extensions.

    Best regards,
    Lars

  • #8 / Apr 11, 2008 11:17am

    Sue Crocker

    26054 posts

    Lindstrom, as long as you have a workaround, are you good to go?

  • #9 / Apr 11, 2008 12:06pm

    Lindstrom

    30 posts

    Yes.

  • #10 / Apr 11, 2008 1:10pm

    Lisa Wess

    20502 posts

    Glad to hear it!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases