1
webweaver
Unable to launch web page after moving xoops_data and xoops_lib
  • 2010/1/16 17:08

  • webweaver

  • Just popping in

  • Posts: 64

  • Since: 2009/3/24


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

2
Burning
Re: Unable to launch web page after moving xoops_data and xoops_lib
  • 2010/1/16 17:47

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


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.

3
webweaver
Re: Unable to launch web page after moving xoops_data and xoops_lib
  • 2010/1/16 18:28

  • webweaver

  • Just popping in

  • Posts: 64

  • Since: 2009/3/24


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

4
webweaver
Re: Unable to launch web page after moving xoops_data and xoops_lib
  • 2010/1/16 18:41

  • webweaver

  • Just popping in

  • Posts: 64

  • Since: 2009/3/24


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

5
SpecialK
Re: Unable to launch web page after moving xoops_data and xoops_lib
  • 2010/1/20 18:12

  • SpecialK

  • Just popping in

  • Posts: 8

  • Since: 2005/10/9


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

6
DanielSmyers
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.

7
SpecialK
Re: Unable to launch web page after moving xoops_data and xoops_lib
  • 2010/2/13 5:48

  • SpecialK

  • Just popping in

  • Posts: 8

  • Since: 2005/10/9


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


8
luthermartin
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.

Login

Who's Online

348 user(s) are online (275 user(s) are browsing Support Forums)


Members: 0


Guests: 348


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits