php - MAMP + Wordpress - Can't get local site to function -
i have installed mamp , trying local dev version of wordpress site running on computer.
i've gone through many tutorials explaining need change in wp-config.php
, db i'm not able page function.
the siteurl
& home
fields in db have both been updated http://localhost/
, i've updated wp-config.php
db username & password root
.
i've set wp_debug: true
bit of feedback might causing error , following when try go http://localhost/
:
fatal error: uncaught error: call undefined function mysql_error() in /users/oldo/desktop/website development/clean cut concrete/mirror/public_html/cleancutconcrete.com/wp-content/plugins/revslider/inc_php/framework/db.class.php:29 stack trace: #0 /users/oldo/desktop/website development/clean cut concrete/mirror/public_html/cleancutconcrete.com/wp-content/plugins/revslider/inc_php/framework/db.class.php(127): unitedbrev->checkforerrors('fetch') #1 /users/oldo/desktop/website development/clean cut concrete/mirror/public_html/cleancutconcrete.com/wp-content/plugins/revslider/inc_php/revslider_params.class.php(42): unitedbrev->fetch('wp_revslider_se...') #2 /users/oldo/desktop/website development/clean cut concrete/mirror/public_html/cleancutconcrete.com/wp-content/plugins/revslider/inc_php/revslider_operations.class.php(1275): revsliderparams->getfieldfromdb('general') #3 /users/oldo/desktop/website development/clean cut concrete/mirror/public_html/cleancutconcrete.com/wp-content/plugins/revslider/revslider_front.php(42) in /users/oldo/desktop/website development/clean cut concrete/mirror/public_html/cleancutconcrete.com/wp-content/plugins/revslider/inc_php/framework/db.class.php on line 29
would have suggestion on how go fixing problem?
the question answered saqib amin in comments above, thought i'd post answer here it's obvious. pointed out me, mysql_*
functions have been removed in php 7, changed mamp use php 5.6.10 , it's working.
Comments
Post a Comment