Missing something on forum transfer to new domain
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
@Wess
When you move your forum, you need to delete the ini files from the cache folder.
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
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.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
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.
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.
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...
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
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.
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.
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.
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!