sitemaniac
New Member
Hello,
I've just taken over the control of a functioning CMS website.
I will be doing a revamp of the site so I downloaded the complete site via ftp on to my local drive so I could make changes and test locally before uploading the new live site.
Normally I use xampp for this and it works fine but for this site, when I try to open locally I get an error:
Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user '**********'@'localhost' (using password: YES) in C:\xampp\htdocs\*******\******.php on line 7
Couldn't connect to server.
I have Apache and MySql running in Xampp.
However, if I just open the .php files with Dreamweaver I can view them pretty okay so I could use that to make changes and test the outcome but it's not ideal as I want to be able to view the site locally in the same way it would be when live.
Does anyone know how to connect properly?
I have all the necessary passwords etc but do you need to enter a different address in the browser for Sql sites as opposed to normal php ones?
I normally use: http://localhost/*******/index.php whch is what usually works when I design normal more basic html with php for includes type sites. This is a CMS site though which is new to me.
All I want to do is be able to change the styling and view in local browser and not the database.
Any ideas how to get this working locally?
Google has not helped me.
Thanks in advance!
I've just taken over the control of a functioning CMS website.
I will be doing a revamp of the site so I downloaded the complete site via ftp on to my local drive so I could make changes and test locally before uploading the new live site.
Normally I use xampp for this and it works fine but for this site, when I try to open locally I get an error:
Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user '**********'@'localhost' (using password: YES) in C:\xampp\htdocs\*******\******.php on line 7
Couldn't connect to server.
I have Apache and MySql running in Xampp.
However, if I just open the .php files with Dreamweaver I can view them pretty okay so I could use that to make changes and test the outcome but it's not ideal as I want to be able to view the site locally in the same way it would be when live.
Does anyone know how to connect properly?
I have all the necessary passwords etc but do you need to enter a different address in the browser for Sql sites as opposed to normal php ones?
I normally use: http://localhost/*******/index.php whch is what usually works when I design normal more basic html with php for includes type sites. This is a CMS site though which is new to me.
All I want to do is be able to change the styling and view in local browser and not the database.
Any ideas how to get this working locally?
Google has not helped me.
Thanks in advance!