Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-12-27 21:04:16

kai
Member
From: Hamburg
Registered: 2008-10-08
Posts: 45
Website

Trouble after updating MAMP to version 3.5

After updating MAMP to version 3.5 following message appears when opening a local txp-installation:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DB has a deprecated constructor in /Applications/MAMP/htdocs/txp/textpattern/lib/txplib_db.php on line 23

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /Applications/MAMP/htdocs/txp/textpattern/lib/txplib_db.php:34 Stack trace: #0 /Applications/MAMP/htdocs/txp/textpattern/lib/txplib_db.php(50): DB->DB() #1 /Applications/MAMP/htdocs/txp/textpattern/publish.php(31): include_once(‘/Applications/M…’) #2 /Applications/MAMP/htdocs/txp/index.php(82): include(‘/Applications/M…’) #3 {main} thrown in /Applications/MAMP/htdocs/txp/textpattern/lib/txplib_db.php on line 34

Well then?

Offline

#2 2015-12-27 22:19:43

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Trouble after updating MAMP to version 3.5

Probably PHP 7.0, which isn’t compatible with TXP 4.5.x.
Either downgrade the PHP version, or upgrade to the development version of TXP (what is to become 4.6).

Offline

#3 2015-12-28 16:08:35

kai
Member
From: Hamburg
Registered: 2008-10-08
Posts: 45
Website

Re: Trouble after updating MAMP to version 3.5

Thanks Ruud, MAMP 3.5 comes with PHP 7.0

Contao, Wordpress an Processwire Installations already work fine with 7.0. So I will wait for TXP 4.6

Offline

Board footer

Powered by FluxBB