PDA

View Full Version : Moving Mys to Subfolder


AlexC
04-24-2013, 08:22 AM
So I originally installed the script in my main directory, but due to the script being a bit of a butt concerning other scripts in subfolders, I've decided to move the website to its own directory so it won't conflict. I relocated the scripts and added in the script path in the config file, but now I'm getting this message;


Warning: require(/home/ratties/public_htmlrats/inc/smarty/Smarty.class.php) [function.require]: failed to open stream: No such file or directory in /home/ratties/public_html/rats/classes/class_mysidia.php on line 323

Fatal error: require() [function.require]: Failed opening required '/home/ratties/public_htmlrats/inc/smarty/Smarty.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ratties/public_html/rats/classes/class_mysidia.php on line 323

Any tips or do I need to reinstall?

Hall of Famer
04-24-2013, 09:22 AM
Well did you try the approach I told you a while ago? You can insert a dummy .htaccess file to the forum directory if it does not contain one .htaccess file of its own, this will prevent Mys from mistakenly redirecting urls.

Anyway looks to me that you are missing a right slash '/' in your script path.

AlexC
04-24-2013, 12:22 PM
I did try about a dozen variations and kept running into problems. I was trying to install wordpress and WP has the .htaccess file build right in, and doesn't use a seperate file - I tried copying, making my own, but I just ran into too many bricks; endless loopings during installation, login errors, database stuff, etc, etc. So I dumped it in a side directory so I could have a little more freedom to make more websites without going through this every time.

Site is working now, thanks. :3 Man, I hate missing these little things.