Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
3 - 1 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: problem: everything is blank
by xjih78 on 2007/3/28 13:52:03

Yeah! I found the problem, but how to turn debug mode on?
There it is:

Quote:

To turn on debugging try the following things:
=
1. If you can get to admininstration menu, go to Preferences, select 'Main', and find the section on debugging options. Choose "PHP Debugging"

2. If you can't get to the administration page, but have access to mysql, try the query "UPDATE xoops_config SET conf_value=1 WHERE conf_name = 'debug_mode'". Be sure to make sure "xoops_config" matches the name of the config table in your installation. (NOTE: This does not work with XOOPS 2.2, see 2a)

2a. In XOOPS 2.2, go to your site's root file "recovery.php" and set the debug settings through the interface here

3. If you can't get to the administration page, and don't want to mess with mysql, but don't mind messing with PHP, then edit the file "include/common.php". Near line 83, change "error_reporting(0);" to "error_reporting(E_ALL);".

4. If this still doesn't work, your server or hoster may have turned off debugging in "/etc/php.ini" (linux) or "WIN_DIRECTORY/php.ini" (windows). Make sure there is a line in there "display_errors On".

5. If you don't have access to change this file (e.g. on shared hosting), then if the server uses the "apache" webserver, you can create a file called ".htaccess" to override the settings locally. This file should contain the line: "php_flag display_errors on". The tricky part is WHERE to put this file. Look at the URL you are having problems with. Put the file in the corresponding directory. e.g. If it is "someplace.com/xoops/" or "someplace.com/xoops/index.php" then you need to put the file in the main XOOPS directory. If it is something like "someplace.com/xoops/modules/system/admin.php" then put it in "modules/system" subdirectory of your XOOPS installation. etc.

I found this on https://xoops.org/modules/smartfaq/faq.php?faqid=80

I forgot to say that the problem really was in the languages file.
Re: problem: everything is blank
by MadFish on 2007/3/28 13:38:49

If you can't get into the admin area, then I suggest either (i) restoring your last backup or (ii) using PHPMyAdmin to manipulate the database directly and change the language back. If you have a look through the preferences tables you should be able to find the language setting.

Edit: Or iii) use PHPMyAdmin to turn debug mode on, then you'll be able to see the errors that are generated and perhaps that will give you some other lead.
problem: everything is blank
by xjih78 on 2007/3/28 13:08:33

The page loads but it's completely blank. I'm using 2.0.16. I checked permissions and everything is ok. This problem occurred after I changed languages. How can I fix this?

Who's Online

202 user(s) are online (155 user(s) are browsing Support Forums)


Members: 0


Guests: 202


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits