Moving Mys to Subfolder

Forum
Last Post
Threads / Messages

AlexC

Moderator
Moderator
Joined
Dec 17, 2009
Messages
742
Points
0
Age
28
Location
Canada
Mysidian Dollar
43,036
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?
 
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.
 
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.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,122
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top