Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-08-13 01:21:02

lyren
New Member
Registered: 2009-08-13
Posts: 6

[resolved] Problems with Xampp 1.7.2

I installed xampp-win32-1.7.2 (local server) and setup textpattern. Everything was going fine until after you make your username and login and log onto to the main interface. When i did log onto the main interface I got errors saying “Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\xampp\htdocs\laurenod\textpattern\lib\txplib_db.php on line 14” and another error I forgot to record in the txp_auth.php file in textpattern/include.

Was searching similar errors with php that appeared to be about php version problems, where tags had been deprecated. That version of xampp runs PHP 5.3.0. I tried a few things, nothing worked, so i installed an earlier version of xampp with an earlier version of php (xampp-win32-1.6.8).

Now it seems to work fine.

I am wondering if textpattern does not work with PHP 5.3.0 – or are there some settings somewhere I can change to get textpattern working with that version of php.

Thanks for any help/advice in advance!

Offline

#2 2009-08-13 01:23:59

lyren
New Member
Registered: 2009-08-13
Posts: 6

Re: [resolved] Problems with Xampp 1.7.2

I forgot to say the error in txp_auth.php file in textpattern/include was on line 144: list($c_userid, $c_hash) = split(‘,’, cs(‘txp_login’)); and also states that split is deprecated

Offline

#3 2009-08-13 01:56:05

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: [resolved] Problems with Xampp 1.7.2

lyren,

I’m not getting those error messages with Textpattern version: 4.0.8 (r3260), installed XAMPP 1.7.2 today.

But in diagnostics, I do get:
Notice: Undefined index: JPG Support in C:\xampp\htdocs\textpattern\textpattern\include\txp_diag.php on line 405

And the fonts on the diag page are larger than on other pages.

On another note, I was getting all kinds of timezone error messages until I added this to php.ini:
date.timezone = America/New_York

Offline

#4 2009-08-13 01:59:26

lyren
New Member
Registered: 2009-08-13
Posts: 6

Re: [resolved] Problems with Xampp 1.7.2

Thats very strange :( I wonder is there any problem if I continue to just use the older version of xampp as the problem doesn’t occur then? Or should I reinstall the new version and keep trying to fix it?

Edit: I also installed this today using the newest version of textpattern

Last edited by lyren (2009-08-13 01:59:57)

Offline

#5 2009-08-13 02:03:45

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: [resolved] Problems with Xampp 1.7.2

lyren wrote:

I also installed this today using the newest version of textpattern

Even though my diag above says 4.0.8, it’s really 4.2.0-rc1, which may explain why I have differing results.

The reason I installed XAMPP 1.7.2 was to test certain apps with PHP 5.3.0.

Offline

#6 2009-08-13 05:31:21

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [resolved] Problems with Xampp 1.7.2

lyren wrote:

I am wondering if textpattern does not work with PHP 5.3.0 – or are there some settings somewhere I can change to get textpattern working with that version of php.

Correct. Textpattern 4.0.8 (and older) are not PHP 5.3.0 compatible.

You can either:

  1. Update to Textpattern’s RC -version (works, kinda excluding timezone errors and so on).
  2. Use PHP older than 5.3.0.

Last edited by Gocom (2009-08-13 05:31:56)

Offline

#7 2009-08-13 09:29:56

lyren
New Member
Registered: 2009-08-13
Posts: 6

Re: [resolved] Problems with Xampp 1.7.2

Thanks very much for the reply! Glad it wasn’t something stupid I was doing!

Does textpattern plan to update to 5.3.0 eventually?

Thanks again!

Offline

#8 2009-08-13 14:01:30

AndrijaM
Member
From: Belgrade, Serbia
Registered: 2007-12-22
Posts: 190
Website

Re: [resolved] Problems with Xampp 1.7.2

lyren wrote:

Does textpattern plan to update to 5.3.0 eventually?

Yes, in 4.2, which is RC now.

Offline

Board footer

Powered by FluxBB