xoops forums

webweaver

Just popping in
Posted on: 2010/1/16 17:08
webweaver
webweaver (Show more)
Just popping in
Posts: 64
Since: 2009/3/24
#1

Unable to launch web page after moving xoops_data and xoops_lib

Hi,

I moved xoops_data and xoops_lib out of document root and updated the paths in mainfile.php.

What else do I need to edit as I still get the error below and in the place where I put the xoops_data and xoops_lib I have the directories and permissions specified by the readmes.

This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Smarty error: the $compile_dir '/home2/kennebec/public_html/xoops_data/caches/smarty_compile' does not exist, or is not a directory.

Do I need to empty a cache somewhere (if so, please let me know which one).

Thanks

Burning

Theme Designer
Posted on: 2010/1/16 17:47
Burning
Burning (Show more)
Theme Designer
Posts: 1163
Since: 2006/8/22
#2

Re: Unable to launch web page after moving xoops_data and xoops_lib

hi'

In mainfile.php, path specified is not out of document root
Quote:
Error: Smarty error: the $compile_dir '/home2/kennebec/public_html/xoops_data/caches/smarty_compile' does not exist, or is not a directory.


Verify again path specified in mainfile.php and before, verify that chmod allows edition.

webweaver

Just popping in
Posted on: 2010/1/16 18:28
webweaver
webweaver (Show more)
Just popping in
Posts: 64
Since: 2009/3/24
#3

Re: Unable to launch web page after moving xoops_data and xoops_lib

That was the problem (I edited the file before but I forgot to change the permissions from read only and it still looked like it saved so I did not realize the problem was still with that file).

Thanks

webweaver

Just popping in
Posted on: 2010/1/16 18:41
webweaver
webweaver (Show more)
Just popping in
Posts: 64
Since: 2009/3/24
#4

Re: Unable to launch web page after moving xoops_data and xoops_lib

PS: I did change my permissions back to 444 on mainfile.php after I redid the edits.

SpecialK

Just popping in
Posted on: 2010/1/20 18:12
SpecialK
SpecialK (Show more)
Just popping in
Posts: 8
Since: 2005/10/9
#5

Re: Unable to launch web page after moving xoops_data and xoops_lib

My site has been hacked so and I am rebuilding, so I ask the following Question: After removing the xoops_data and xoops_lib folders from the public_html folder, where do I place them? (or should it remove from the site altogether?) And, should the codes references in the Mainfile.php point to their new location?

Just checking.. help!

SK

DanielSmyers

Just popping in
Posted on: 2010/1/20 21:57
DanielSmyers
DanielSmyers (Show more)
Just popping in
Posts: 5
Since: 2009/11/6
#6

Re: Unable to launch web page after moving xoops_data and xoops_lib

SpecialK, it is recommended that you move the xoops_lib and xoops_data folders completely out of the public_html folder. If you have ftp access or you have access via your control panel move these 2 folders (and their subfolders) into the same folder that the public_html folder is in. That should be in your root. For example the current path of your site may be something like this

/home/myaccount/public_html/mysite.com/xoops_data
/home/myaccount/public_html/mysite.com/xoops_lib

and it should be something like this

/home/myaccount/xoops_data
/home/myaccount/xoops_lib


make sure you change your mainfile.php in your sites root to reflect where the xoops_data and xoops_lib folder is located and please make sure the attributes are changed to 444 for your security and peace of mind.

SpecialK

Just popping in
Posted on: 2010/2/13 5:48
SpecialK
SpecialK (Show more)
Just popping in
Posts: 8
Since: 2005/10/9
#7

Re: Unable to launch web page after moving xoops_data and xoops_lib

Thanks so much, DanielSmyers! This will surely give me peace of mind...

luthermartin

Just popping in
Posted on: 2010/9/20 3:44
luthermartin
luthermartin (Show more)
Just popping in
Posts: 26
Since: 2010/3/17
#8

Re: Unable to launch web page after moving xoops_data and xoops_lib

Thanks too. That is a clear example of what one needs to do. Succint and to the point.