Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Missing something on forum transfer to new domain

WessWess New
edited March 2013 in Vanilla 2.0 - 2.8

transferred the forum version (2.0.18.4) to a new server and when I hit the forum now it gives me a fatal error that is missing items so I started to add them and then it just kept asking for the next and next and next one, so clearly something is amiss.

I could keep going but would like to know what is the actual issue as this is defo not the way to fix it.

Fatal error: Class 'Gdn_Factory' not found in /home/unlondon/public_html/unlab.ca/forum/library/core/class.gdn.php on line 13

Is the last error I recieved I could just include that file but its just going to ask for the next in the directory by the time I'm done I will have included the full library/core directory :S

Been doing this in the bootstrap.php

// Include the core function definitions
require_once(PATH_LIBRARY_CORE.'/functions.error.php');
require_once(PATH_LIBRARY_CORE.'/functions.general.php');
require_once(PATH_LIBRARY_CORE.'/class.sliceprovider.php');
require_once(PATH_LIBRARY_CORE.'/class.pluggable.php');
require_once(PATH_LIBRARY_CORE.'/interface.iplugin.php');
require_once(PATH_LIBRARY_CORE.'/class.plugin.php');
require_once(PATH_LIBRARY_CORE.'/class.gdn.php');
ect...................

thanks for any help towards this issue.

Comments

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    @Wess

    When you move your forum, you need to delete the ini files from the cache folder.

  • Options

    Thanks @whu606 but I now get:

    Fatal Error in PHP.trigger_error();
    Smarty error: unable to write to $compile_dir '/home/xxxx/public_html/xxx.xxx/forum/cache/Smarty/compile'. Be sure $compile_dir is writable by the web server user.

    The dir perms are 755 on that folder and all the ones above it :/

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    I think if you Just delete the contents from the Smarty compile folder and the cache ini files. I have permission 644 and it works fine.

  • Options
    WessWess New
    edited March 2013

    didn't work the only thing that worked is I set it to 777 not sure if that's very secure though.

    I think you might be looking at the files inside the directories permissions and not the folder?

    Also have an error that the config.php is not writable :/ not sure what the deal is with the perms.

  • Options

    hmm the files perms on the server the files got transferred from were the same as what are on this server not sure what the issue is.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    you need to set permissions for both the file as well as the directory. The config.php can be made writable I write to it all the time. If not then download edit with text editor and overwrite via ftp...

  • Options

    Permission are about setting the right user and user group, unfortunately cheap web host have made a mockery of this, which why people don't understand permissions and set everything to 777.

    grep is your friend.

  • Options

    @Wess said:
    hmm the files perms on the server the files got transferred from were the same as what are on this server not sure what the issue is.

    If the username on the old server is, for example, 'johndoe' and right now, on the new server, the username is 'doe-john' then I can understand the permission problems. x00 is on the right track and I would follow his advice as a guide.

    There was an error rendering this rich post.

  • Options
    422422 Developer MVP

    @Wess said:
    hmm the files perms on the server the files got transferred from were the same as what are on this server not sure what the issue is.

    Reminds me of a story years ago, :

    Woman leaves her cheating husband, and while he is out, stuffs prawns into the curtain pole.

    Weeks later the stench is unbearable for the now single guy, so he sells the house. Taking the curtain poles with him.

    Theres a moral in there somewhere.

    There was an error rendering this rich post.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    lol , Yea, The moral to the story is : Never stuff prawns in a curtain pole when you can barbie them up on a skewer with butter and lemon.
    http://australian.food.com/recipe/succulent-prawns-for-the-barbie-15548

  • Options
    SrggamerSrggamer HardCore Gamer ✭✭✭

    @vrijvlinder said:
    lol , Yea, The moral to the story is : Never stuff prawns in a curtain pole when you can barbie them up on a skewer with butter and lemon.
    http://australian.food.com/recipe/succulent-prawns-for-the-barbie-15548

    So true!

Sign In or Register to comment.