PHP5 And PHPBBXS....


Subject: PHP5 And PHPBBXS....
I take i that they are NOT compatible? We moved to a new ISP and dedicated hosting server, but they have PHP5 on the system and MySql 4.1. After all that transfer and upload, all pages come up blank :-( The ISP will revert back to a lower version of PHP, but then they said they will nto support it if we did?? Is there ANY type of work around or did I kust lose everything I have??

Is it also possible to load a vanilla PHPBB which IS compatible with PHP5 and keep my forum structure and data??

Thanks in advance!!

Paul

Profile PM  
Subject: Re: PHP5 And PHPBBXS....
It works fine with PHP5. I am running my own server with PHP5 on it and no troubles. You might want to check your Database. I had the same problem when I moved from my old host to my own server. I forgot to change the HOSTNAME in the DB.

Subject: Re: PHP5 And PHPBBXS....
I could not find any reference to HOSTNAME in DB?? Where exactly is this?

Here is the link to my site http://www.scikotics.com

What IS weird is that http://www.scikotics.com/adm actually shows the templates, but goes away after login??

Profile PM  
Subject: Re: PHP5 And PHPBBXS....
Did ypu upload your original SQL database from your old host? If so then you need to open the sql database file and change the HOST to your new host. After you change the host in the file then reimport your database.

Subject: Re: PHP5 And PHPBBXS....
Are you talking about the phpbb_config table server_name??

If so, I've tried the actual server name dedicated.scikotics.com as well as the www.scikotics.com

Am i looking in the wrong place..

Profile PM  
Subject: Re: PHP5 And PHPBBXS....
No your MYSQL Database. You did back it up before you switched hosts didn't you?
You need to import your site database into MySQL. The database name is usually PHPBB unless you changed it to something else.
In oder to do this you need to have already made a back-up copy of the one that was on the sever of your old host.
If not then you need to start all over again.

Make sure your config.php file in your root directory points to your new server.
And also make sure that before you import your database back-up to change the host in the file. It is at the top of the file when you open it.

Subject: Re: PHP5 And PHPBBXS....
I did change the config.php to the new host name. I even used bigdump.php to import the old database back in.

Profile PM  
Subject: Re: PHP5 And PHPBBXS....
Fixed it :-) After finally reading the error logs...

Quote:
[client 65.29.8.198] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 933888 bytes) in /home/virtual/site1/fst/var/www/html/includes/page_header.php on line 1276
[client 71.204.155.51] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 233472 bytes) in /home/virtual/site1/fst/var/www/html/includes/functions_calendar.php on line 1108
[client 71.204.155.51] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 933888 bytes) in /home/virtual/site1/fst/var/www/html/includes/bbcode.php on line 1945
[client 71.204.155.51] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 233472 bytes) in /home/virtual/site1/fst/var/www/html/includes/bbcode.php on line 1029


I have access to the php.ini file and raised it to 32Megs and I'll be damned if the site came back up :-)

Thanks for all your input though. It was much appreciated!!
Paul

Profile PM  
Subject: Re: PHP5 And PHPBBXS....
32 MB is quite a lot... 12 MB should be enough.

Anyway it is strange that you are consuming so much memory... :roll:

Subject: Re: PHP5 And PHPBBXS....
he have the also problem of me The memory limit!

How to modify this?

Profile PM  
Subject: Re: PHP5 And PHPBBXS....
Mighty Gorgon wrote: [View Post]
32 MB is quite a lot... 12 MB should be enough.

Anyway it is strange that you are consuming so much memory... :roll:


That's what I originally tried to raise it to and it would not load until I reached 32MB. Runs fine now though..

Profile PM  
Subject: Re: PHP5 And PHPBBXS....
Noted_DrAgOn wrote: [View Post]
he have the also problem of me The memory limit!

How to modify this?


memory_limit = 32M

This is a setting in your php.ini file. ISP's won't usually raise this limit, but if it's dedicated, you can SSH into it and change the setting.

Profile PM  
Subject: Re: PHP5 And PHPBBXS....
Where are php.ini?

Profile PM  
Subject: Re: PHP5 And PHPBBXS....
in server


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.6211s (PHP: 3% SQL: 97%)
SQL queries: 10 - Debug Off - GZIP Enabled