Page 1 of 2

i just need help

PostPosted: Sat Feb 24, 2007 9:18 am
Author: ayasha
Your phpBB Version: 2.0.22
phpBB Type: Integramod 141
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: http://www.graphicsplayhouse.com/forum

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

ok, i dont know what happened, but my server went down. they said something about more than one server being effected, cron jobs and .scripts running that ruined the HD and OS, so i had to get all new stuff installed on the server.

i have no idea what all the specs were, but it was php 4, now i have

Linux
php5
Mysql 5.0
Plesk 8.10
Suse 10


everything is in place, the config.php has the correct info in it, but all i get is a white screen.

Re: i just need help

PostPosted: Sat Feb 24, 2007 12:41 pm
Author: ayasha
here is my config.php

Code: Select all
<php>


i put the 5 in there and saved it, it did not seem to make a difference, i still get a blank page.

Re: i just need help

PostPosted: Sat Feb 24, 2007 12:44 pm
Author: dan0042
Code: Select all
<php>

Re: i just need help

PostPosted: Sat Feb 24, 2007 12:50 pm
Author: ayasha
"cleo";p="22339" wrote:here is my config.php

Code: Select all
<php>


i put the 5 in there and saved it, it did not seem to make a difference, i still get a blank page.


as i said Dan, i have already tried it with the 5

PostPosted: Sat Feb 24, 2007 12:57 pm
Author: dan0042
Tell Host goback PHP4 Not php5

PostPosted: Sat Feb 24, 2007 1:00 pm
Author: ayasha
ok, and when i do that, i will tell bill gates to go back to windows 95 too <img> we will just have everyone roll back to older software and operating systems, and while we are at it, we will just go back to IM 132 also.

PostPosted: Sat Feb 24, 2007 1:44 pm
Author: Ma®©uS
PHP4 is not old... PHP3 is old.

PHP5 is an improvement in PHP4 with OOP abilities, but both PHP4 and PHP5 are still actively developed, not discontinued software.

I agree with Dan0042, revert back to PHP4 if PHP5 will not work.

PostPosted: Sat Feb 24, 2007 1:48 pm
Author: ayasha
ok, and who is going to graciously give me the money needed to pay to have another server set up, with a different hosting company that is still running php4?....and note, that is they are running php4 until they move forward with upgrading, then what?

it is not as simple as reverting back to something that you have no control over. i cannot make the hosting company revert back anymore than i can make you foot the cost for me moving somewhere else so i can have php4.

Re: i just need help

PostPosted: Sat Feb 24, 2007 1:56 pm
Author: Ma®©uS
Servers can run PHP4 and PHP5 side-by-side.

Usually in means renaming the file extensions to .php4, or .php5 for whichever is used least (primary remains .php) - or use a .htaccess to force .php to run as php4 if PHP5 is the main server PHP version.

Code: Select all
<FilesMatch>    SetHandler application/x-httpd-php4</FilesMatch>

PostPosted: Sat Feb 24, 2007 2:05 pm
Author: ayasha
how do i do this?

and isn't IM 141 suppose to be php5 compatible? so why would i do this?

Re: i just need help

PostPosted: Sat Feb 24, 2007 2:23 pm
Author: Ma®©uS
I just read the whole thread...
"HelterSkelter";p="22337" wrote:first thing you need to do is open config.php and find

$dbms = 'mysql4';

change it to

$dbms = 'mysql5';


Look in includes/db.php

See the switch ($dbms) options? There is no mysql5...

Change it back to mysql or mysql4... if e-Tegra is PHP5 compatiable, then you shouldn't need to do anything. But having a non-existent $dbms setting won't help matters.

EDIT: Also try mysqli - I *think* thats the same as MySQL5

PostPosted: Sat Feb 24, 2007 3:32 pm
Author: ayasha
nothing is working Teelk, Michaelo, Found It, all you other devs HELP!

Re: i just need help

PostPosted: Sat Feb 24, 2007 3:54 pm
Author: Helter
hmmm interesting. I have mysql5.php in an old .svn dir, but not in the current db folder. Also, it appears incomplete.

there have been problems found with mysqli, so I would stick with

$dbms = 'mysql';

Re: i just need help

PostPosted: Mon Feb 26, 2007 9:20 pm
Author: Teelk
Hmmm... I don't remember a mysql5.php... could have been an early test version.

'mysql4' is for both mysql 4 and 5, and should work with both. You may run into issues using 'mysql' without the 4 after it, 'mysql' is for mysql 3.

MySQLi is a php5(and I think recently made php4 compatible) extension. 'mysqli' will work if the extension is installed on your server, the only exception being the newest version of php5, currently 5.2.0 I believe. PHP Version 5.2.0 + mysqli extension results in blank pages.

I would suggest trying both mysql4 and mysqli.

It could also be one, or more MODs that you have installed that aren't php5 compatible. If you know what they are I can take a look and see if there's anything that "sticks out" as php5 unfriendly.

Re: i just need help

PostPosted: Tue Feb 27, 2007 1:20 am
Author: Ma®©uS
"mysqli" is more a MySQL thing that PHP, is allows PHP to access the functionality provided by MySQL 4.1 and above. Teelk is right in that only PHP5 has mysqli functions - and by looking at Cleo's server versions of PHP and MySQL it maybe worth giving it a try.

If it doesn't work then the "blank screen" issue probably represents a mod that isn't fully supported my PHP5. What a bugger that'll be to find! <img>