Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 05:19:43 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Help with 2.6.7 and PHP5  (Read 2082 times)
Pam1234

Offline Offline

Posts: 7


« on: December 12, 2007, 02:50:31 AM »

Hello,

Currently using WB 2.6.7 with no problems within PHP 4 environment on shared web hosting. Web host will be going to PHP5 in the next few weeks. As a test, I created an .htaccess file with the following line:

AddHandler application/x-httpd-php5 .php

This was my web host's recommendation. I ran a PHP Info check to verify that the site was now running on PHP 5.2.4, Safe_Mode off, session support enabled. I am able to access the front end of the site without problems but am unable to login to the admin area. I tried using the "forgot password" retrieval and used the resultant auto-generated password but still couldn't get in -- it just kept refreshing the login screen. Removing the .htaccess file (reverting back to PHP4) solved the login problem.

Does anyone know how to solve the admin login problem in PHP5?

Thanks for any assistance,
Pam
Logged
doc
Guest
« Reply #1 on: December 12, 2007, 06:47:59 AM »

Hello,

must be related to the configuration of your hoster. I am running WB on PHP 5.2 without any problems. Also the Addons and Help website are running on a server using PHP 5.2.

So can you try to contact your hoster and ask which setting could cause this problem (session support ...).

Regards Christian
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #2 on: December 13, 2007, 09:49:28 AM »

Hello,

What about MySQL Version? Is it also 5.x and does it run in strict mode? If yes, the install script of WB (and also of the most moduls) didn't work when MySQL runs in strict mode.

Matthias
Logged
Pam1234

Offline Offline

Posts: 7


« Reply #3 on: December 14, 2007, 04:51:55 AM »

Thanks for the replies. Here is the info on MySQL according to phpinfo (attached).

MySQL is not version 5.x -- to clarify, are you saying it must be 5.x to run WB in PHP5?

Thanks,
Pam
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #4 on: December 14, 2007, 05:45:35 AM »

Hello,

sorry didn't really read your first post. Thought you got issus on a php5 host after a fresh install of WB but as i now read you had an existing WB page working on php4 and simply tested by changing the php version via .htacess if this page also works on php5.

In this case your issue has nothing to do with mysql version. WB should work with PHP5 and also with Mysql 5 except if Mysql5 runs in strict mode. MySql5 is no must, it is recommanded not to use Mysql5. WB works best with mysql 4.x. PHP Version can be used PHP4 and PHP5. So you issue has nothing to do with mysql version. Sorry for my wrong info.

Matthias
Logged
Pam1234

Offline Offline

Posts: 7


« Reply #5 on: December 14, 2007, 10:12:43 PM »

My web host wondered if you would be willing to post a phpinfo file for a site using WB with PHP5. You can omit anything sensitive, we just need to see the settings. Send it via PM if you'd prefer.

Thanks,
Pam
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #6 on: December 17, 2007, 12:52:38 PM »

Hello,

addons.websitebaker .org and help.websitebakerr org works with PHP5. I'll send you a PM with phpinfo.

Matthias
Logged
janikit

Offline Offline

Posts: 9


« Reply #7 on: February 10, 2008, 11:45:59 AM »

I am stumped, but also far from an expert in PHP.

I had a similar issue: WB 2.6.5 working fine on servers with PHP4. Web host now moving to PHP5 on new servers I set up. So, when I install WB 2.6.7 on Linux Server with PHP5 it installs fine and both front end and back end work fine also.

BUT

None of the modules work at all. It looks like modules install ok, that is I can make pages from them but when I go to modify pages based on extra modules (gallery for example) all I get is a usual WB admin page modification page (where you might normally see the html editor etc) but no content at all. I mean, I cant change anything to do with the modules and therefore the pages don't work.

I am lost and really stuck as to what to do.

Any help would be really appreciated.

James.
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #8 on: February 10, 2008, 12:04:48 PM »

Hello,

wich mysql version?

Matthias
Logged
janikit

Offline Offline

Posts: 9


« Reply #9 on: February 11, 2008, 10:58:54 AM »

Hi,

The version is:

MySQL 5.0.22

Server is Linux running PHP 5.2.3

I have the site up, and everything works fine  - except getting *any* extra modules to work or getting the rss.php to work.

site is: www.davidmcnairnbla ckbeltacademy.co.uk

Cheers for helping
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #10 on: February 11, 2008, 11:03:29 AM »

Hello,

if mysql5 is running in strict mode, the install scripts of most of the modules didn't work.

Matthias
Logged
janikit

Offline Offline

Posts: 9


« Reply #11 on: February 11, 2008, 11:13:22 AM »

Cheers for that: is there anything I can do to change the MySql mode? Can I modify the database table directly to make the modules work? Or if I waited for WB 3 (PHP5) to come out would things work then so you think?

Thanks again.
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #12 on: February 11, 2008, 12:11:51 PM »

Hello,

just to make things clearer.

PHP5 is not the problem. WB works with it without any issues.

MySQL5 is also no problem it it does not run in strict mode.

But if MySQL runs in strict mode, only your hoster can change this. To wait till WB3 is also no solution as i don't think even the WB3 corefiles work with strict mode that all modules, wich are developped from the community, supports strict mode. So please ask your hoster.

Matthias

Logged
janikit

Offline Offline

Posts: 9


« Reply #13 on: February 12, 2008, 12:25:13 PM »

Hello Matthias,

My host tells me the MySQL server is not running in strict mode.

What do you think now could be the issue?

Thanks

James.
Logged
janikit

Offline Offline

Posts: 9


« Reply #14 on: February 14, 2008, 12:57:40 PM »

Hi, Any help would be really appreciated. WB used to work fine on the servers I use but now they have upgraded to PHP 5 I have having big problems with any add ons?


Logged
janikit

Offline Offline

Posts: 9


« Reply #15 on: February 14, 2008, 01:13:24 PM »

I just looked inside my database after trying to install an addon and no extra table were created - could this be a problem? Any one know how to solve this issue?
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #16 on: February 14, 2008, 01:33:13 PM »

Hello,

what about safe mode? off or on?

Matthias
Logged
janikit

Offline Offline

Posts: 9


« Reply #17 on: February 14, 2008, 02:06:29 PM »

yes, safe mode is OFF - so my hosters tell me.

Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #18 on: February 14, 2008, 03:16:12 PM »

Hello,

how did you install the modules? Please explain step by step.

Matthias
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!