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.

Server move for EE site posed some real issues

April 29, 2008 4:26pm

Subscribe [2]
  • #1 / Apr 29, 2008 4:26pm

    koi

    36 posts

    I moved servers and now my EE site will not load/display properly.

    I edited the config.php file after the move but that didn’t help.  No images or entries are appearing.  What I get is copied below:

    Who’s Online?
    {exp:stats} There are {total_guests} guests and {total_logged_in} users viewing the blog.

    There are guests users viewing the forums.

    Most users online at the same time: {most_visitors} on {most_visitor_date format="%m/%d/%Y"}.
    {/exp:stats} Recent Forum Posts

    I am new to moving EE between servers so I imagine that this is very noobish question for which there is a simple answer.

    Also, the backend works and looks fine.  I can login to my control panel without issues.

  • #2 / Apr 29, 2008 4:30pm

    Ingmar

    29245 posts

    koi, work with me here, please. Do you have a URL to the site in question? How did you move servers? Did you follow the instructions in the wiki and the KB?

  • #3 / Apr 29, 2008 4:31pm

    koi

    36 posts

    While you were typing that, I edited the following to be the correct paths:

    * - Server path to upload directory in the admin panel
    * - Summary Upload directory

  • #4 / Apr 29, 2008 4:33pm

    Ingmar

    29245 posts

    Sorry, I don’t follow. Do you mean it’s working now?

  • #5 / Apr 29, 2008 4:33pm

    koi

    36 posts

    koi, work with me here, please. Do you have a URL to the site in question? How did you move servers? Did you follow the instructions in the wiki and the KB?

    Doh! Sorry, I just treated the server move like I do all other servers.  I dumped the databases and moved the files via SFTP.

    The URL is all things dot tv all put together.

    I will review the above links right away…I know have this:

    Warning: Unknown(/home/siliconf/public_html/user/vb.php): failed to open stream: No such file or directory in /home/user/public_html/web/system/core/core.functions.php(629) : eval()‘d code on line 2

    Warning: (null)() [function.include]: Failed opening ‘/home/siliconf/public_html/user/vb.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/user/public_html/web/system/core/core.functions.php(629) : eval()‘d code on line 2

    Who’s Online?
    {exp:stats} There are {total_guests} guests and {total_logged_in} users viewing the blog.

    There are
    Notice: Undefined variable: numberguest in /home/user/public_html/web/system/core/core.functions.php(629) : eval()‘d code on line 15
    guests
    Notice: Undefined variable: numberregistered in /home/user/public_html/web/110/system/core.functions.php(629) : eval()‘d code on line 15
    users viewing the forums.

    Most users online at the same time: {most_visitors} on {most_visitor_date format="%m/%d/%Y"}.
    {/exp:stats} Recent Forum Posts

    Fatal error: Call to undefined function: fetch_rss() in /home/user/public_html/web/system/core/core.functions.php(629) : eval()‘d code on line 91

  • #6 / Apr 29, 2008 4:40pm

    Ingmar

    29245 posts

    Are you sure that’s an EE template? Have you installed EE at example.com, if so, which version?

  • #7 / Apr 29, 2008 4:54pm

    koi

    36 posts

    No, it was a custom template.

    ExpressionEngine 1.5.2

  • #8 / Apr 29, 2008 5:04pm

    koi

    36 posts

    I think I might have to pay someone because I am not exactly famiiliar with giving mysql commands.  :(

  • #9 / Apr 29, 2008 5:37pm

    Ingmar

    29245 posts

    I don’t see why you need SQL commands at this point. It’s just that I don’t have the impression that EE is currently running (properly) at example.com.

  • #10 / Apr 29, 2008 5:41pm

    koi

    36 posts

    If you want admin access, please let me know and I can PM it to you.  I am not sure whether there is something you can view to get an idea whether ee is running, but you can type example.com/system/ and see the admin panel.  It displays fine.  Wouldn’t that suggest EE is running properly?

  • #11 / Apr 29, 2008 6:51pm

    Ingmar

    29245 posts

    Yes, send me a SuperAdmin and FTP account to .(JavaScript must be enabled to view this email address).

  • #12 / Apr 29, 2008 7:44pm

    Lisa Wess

    20502 posts

    Warning: Unknown(/home/siliconf/public_html/example/vb.php): failed to open stream: No such file or directory in /home/example/public_html/web/system/core/core.functions.php(629) : eval()’d code on line 2

    That error indicates that you are trying to call a file, somewhere, called vb.php - and that it’s not found at that location.  Check your main template group’s index file to see if you’re PHP including that or similar.  Is there any chance you hacked the files to pull information that way?

  • #13 / Apr 29, 2008 8:36pm

    koi

    36 posts

    where can I edit the path?  The path changed since the server move.

    its now home/user/public_html/

  • #14 / Apr 29, 2008 8:44pm

    Lisa Wess

    20502 posts

    That file - vb.php - is not part of ExpressionEngine, so you’ll need to locate where you’re calling it (probably your templates somewhere) and then update the path there.

  • #15 / Apr 30, 2008 4:09am

    Ingmar

    29245 posts

    koi, I have since received the login information and taken a look. You had a few issues there. I see your main template is composed of three sub-templates (which is good practice, by the way), and the one for the right column was giving us problems. As Lisa noticed, vb.php is not part of EE, and the PHP include was failing, so I commented that out. This did not solve things, however.

    So I copied your original embedded template, named it yourtemplate2, and changed the {embed=} in your main template accordingly. I left a comment in the source saying I did so, then started debugging yourtemplate2. Quite frankly, you have a lot of weird PHP in there. I removed as little as possible, but as much as I had to: the culprit was most likely some code for the “Recent Forum Posts” (where it says “Foobar” now). You’ll need to work on that a bit, but your main issue should be solved: the site is working.

    On a general note, I also recommend upgrading to EE 1.6.3. The version you are running is quite old. And please do change you password, not only because I know it now, but also because it was not very good to begin with 😊

    I hope that helps, let me know if there’s anything else.

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

ExpressionEngine News!

#eecms, #events, #releases