DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • June 18, 2013, 02:08:47 PM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: 1 2 [3]   Go Down
  Print  
Author Topic: Corrupted configurations.php (weird)  (Read 5293 times)
0 Members and 1 Guest are viewing this topic.
SaucyWench
Moderator
Mod God
*****
Offline Offline

Posts: 2238


I'm a good girl.


View Profile WWW
« Reply #30 on: June 09, 2007, 07:46:14 PM »

The thread is going around in circles. I've used Freehostia and have no problem. In fact I had extensively modified a second server on Freehostia with no problems.

Try re-downloading 1.1.0 and reunpacking it and reuploading it, then get rid of all the modules, and then fix all the game settings. Make sure it all works. I expect it will! Then add the modules a few at a time.
Logged

SaucyWench
Owner of GemDust.com and Darton City proudly hosted by LunarPages
SaucyWench
Moderator
Mod God
*****
Offline Offline

Posts: 2238


I'm a good girl.


View Profile WWW
« Reply #31 on: June 09, 2007, 07:49:22 PM »

Can we get someone to turn on error reporting and see if anything comes up?

Has anyone contacted the host (who does provide support) to ask whether 51 means anything to them? It might be an error code they understand.
Logged

SaucyWench
Owner of GemDust.com and Darton City proudly hosted by LunarPages
ATN
Militia
**
Offline Offline

Posts: 36


View Profile WWW
« Reply #32 on: June 10, 2007, 12:53:57 PM »

maybe freehostia servers can't handle too many modules when 1.1.1 is installed?
Logged

47|\| 15 7h3 u83r |337 k1n6
Elessa
Faerie
Mod God
*****
Offline Offline

Posts: 3592


short, sweet and to the point


View Profile WWW
« Reply #33 on: June 10, 2007, 03:04:55 PM »

without seeing actual error messages there is no way to tell.
Logged

Uuma ma ten rashwe, ta tuluva a lle

Play the latest beta version here on LoGD DragonPrime - Axebridge
Iori
Mod God
*****
Offline Offline

Posts: 832


View Profile WWW
« Reply #34 on: June 10, 2007, 10:09:59 PM »

without seeing actual error messages there is no way to tell.

My understanding is that the actually error message is a blank white screen with the number 51 on it.
Logged

Elessa
Faerie
Mod God
*****
Offline Offline

Posts: 3592


short, sweet and to the point


View Profile WWW
« Reply #35 on: June 10, 2007, 10:29:53 PM »

without seeing actual error messages there is no way to tell.

My understanding is that the actually error message is a blank white screen with the number 51 on it.

how absolutely bizarre.
Logged

Uuma ma ten rashwe, ta tuluva a lle

Play the latest beta version here on LoGD DragonPrime - Axebridge
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #36 on: June 10, 2007, 10:47:43 PM »

That's the advanced version of a blank screen with a single 42 ...
Logged

Running for more than three years now:
Elessa
Faerie
Mod God
*****
Offline Offline

Posts: 3592


short, sweet and to the point


View Profile WWW
« Reply #37 on: June 10, 2007, 11:00:08 PM »

from googling this seems to me that PHP error reporting needs to be turned on in order to determine what is causing the error to be generated.

the PHP has been configued to not display any errors generated by PHP scripts. 

Quote
When you download PHP you find that two configuration files (php.ini files) are provided a default and a recommended. The recommended configuration has display of errors turned off. So as we see having a Blank Page is not the root problem. We need to dig deeper in order to determine the actual error before any fix can be determined.

Re-configuring PHP to display errors

To identify the root cause we need to get at the error being generated by PHP. How we do this depends on the level of access available to the server.

If you have access to update the server configuration then you can either alter your PHP configuration to turn on the displaying of errors to the browser or log errors to a file. To display errors in the browser set display_errors = On in php.ini. To log errors to a file set log_errors = On and provide a valid log file in error_log = filename (note 1)

If you don't have access to update the server configuration, the server you use is running apache and the server allows .htaccess files then the PHP configuration can be altered this way.

Create a .htaccess file in your PN root (with index.php, admin.php, user.php etc.). Turn on displaying of errors to the browser with

php_flag display_errors on

For other server configurations or problems with these directives seek help from either the server administrator, host, generic PHP support or operating system vendor.

What now?

You should now have access to the actual error generated either via the browser window or via the error log. At this point how you procede depends on the error message itself but it will have narrowed the places to look and avenues to seek further help on identifying the problem.

Notes
1) If on a windows server you can log errors to the server event log using error_log = syslog
Logged

Uuma ma ten rashwe, ta tuluva a lle

Play the latest beta version here on LoGD DragonPrime - Axebridge
ThricebornPhoenix
Codemeister
****
Offline Offline

Posts: 368


Dying is the easy part.


View Profile
« Reply #38 on: June 12, 2007, 02:54:04 PM »

The thread is going around in circles. I've used Freehostia and have no problem. In fact I had extensively modified a second server on Freehostia with no problems.

Try re-downloading 1.1.0 and reunpacking it and reuploading it, then get rid of all the modules, and then fix all the game settings. Make sure it all works. I expect it will! Then add the modules a few at a time.

It works fine in 1.1.0. I just reinstalled my 1.1.1 and also installed 1.1.0. The former got 51'd, the latter did not. Then I did an upgrade from 1.1.0->1.1.1, and now that one gets 51'd as well.

Has anyone contacted the host (who does provide support) to ask whether 51 means anything to them? It might be an error code they understand.

Good idea. I just searched their forums and found the answer - apparently, Freehostia has some sort of content filter in place that outputs a page with numbers, depending on why it was blocked.

http://forum.freehostia.com/viewtopic.php?t=2137
http://forum.freehostia.com/viewtopic.php?t=924

In case you don't care to read those, the response was to submit a ticket.

Quote
You have to open a trouble ticket for this issue. We will assist you there in resolving the issue.
Logged

"I'm no hand at casuistry, but I can't break my word to a modern pessimist. It's like breaking one's word to a child." ~ The Man Who Was Thursday, G. K. Chesterton
SaucyWench
Moderator
Mod God
*****
Offline Offline

Posts: 2238


I'm a good girl.


View Profile WWW
« Reply #39 on: June 12, 2007, 04:15:46 PM »

Great, thanks for the detective work Thrice! I wonder what on earth could be triggering their filter in the settings... hopefully someone who's seeing this will submit a ticket and see what the staff have to say.
Logged

SaucyWench
Owner of GemDust.com and Darton City proudly hosted by LunarPages
Oridin
Guest
« Reply #40 on: June 12, 2007, 05:56:16 PM »

If the configurations.php file is still not working properly and you KNOW that this is what the problem is than you should re-download the whole program, unzip the file, and copy that one file into your FTP
Logged
Talisman
Administrator
Mod God
*****
Offline Offline

Posts: 5428



View Profile WWW
« Reply #41 on: June 12, 2007, 06:03:17 PM »

If the configurations.php file is still not working properly and you KNOW that this is what the problem is than you should re-download the whole program, unzip the file, and copy that one file into your FTP

We have just established it's a server/host issue.  Please don't throw wild guesses out here...
Logged

Play the latest beta version here on DragonPrime
ThricebornPhoenix
Codemeister
****
Offline Offline

Posts: 368


Dying is the easy part.


View Profile
« Reply #42 on: June 12, 2007, 06:33:11 PM »

I just submitted a trouble ticket. And, because I was curious, I compared 1.1.0's configuration.php to 1.1.1's and recorded all the lines that had been added (I don't think any were removed). It all seems innocuous to me... Huh

Update: upon receiving the following reply, I commented lines 267-274 ("paypalcountry-code"), and now it's not blocked.


Quote
Hello,

The'51' error is caused by our servers content filter,please check you page for words/phrases such: "Overdrafts"+"Business Services"+"Online Banking"+"Specialist Sectors","bank"+"of"+"ireland"+"Website","CAJA"+"MADRID"

When you find some , please remove then and this will unblock the page which is causing that issue.
Best Regards,
Jazzy
« Last Edit: June 13, 2007, 07:24:54 AM by ThricebornPhoenix » Logged

"I'm no hand at casuistry, but I can't break my word to a modern pessimist. It's like breaking one's word to a child." ~ The Man Who Was Thursday, G. K. Chesterton
Pages: 1 2 [3]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

Support Us
$100 raised this year
Your help is greatly appreciated!
Who's Online
18 Guests, 0 Users
DragonPrime LoGD
Recent Topics
Home Forums News Links Downloads Login Register Advanced Search