chrometweaks.org

I cannot get to my iPage Control Panel?

Click Here To View All Answers...


Quick question: I cannot get to my iPage Control Panel? Looking forward for any comment. 2nd question I got is.. Hello.

Warning this is an Adult online store..

When clicking on "Enter" from page.

Http://www.mrbuzzie.com/.

The following message comes up:.

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mrbuzzie_osc'@'localhost' (using password: YES) in /home/mrbuzzie/public_html/osc/catalog/includes/functions/database.php on line 19.

Unable to connect to database server!.

Contents of .htaccess at the root level is:.

SuPHP_ConfigPath /home/mrbuzzie/public_html/.

Options +FollowSymLinks.

Contents of php.ini at root level is:.

Register_globals = On.

I have also tried in php.ini:.

Php_value register_globals 1.

But then message comes up:.

Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory..

I have no clue what is wrong or why the iPage site is not working. It was working before in this same Web iPage hosting space but went offline for a while. Now it is being re-loaded but can not get it operational. Would be so grateful if anyone can get the iPage site working even if I have to pay for someone to do it..

Thanks for any help..

Regards,.

Ted..

Comments (88)

Hmm... I need to find out myself. I don't know what is the right answer to your question. I'll do some poking around and get back to you if I bump into an useful answer. You should email the people at iPage as they probably can answer it..

Comment #1

Thanks very much Nic!.

Can I ask you, how do I create a username to link to the database? I had downloaded the entire Web iPage site previously before the old iPage hosting space expired and just trying to re-load. Do you know if the old database should have been included in the contents of the Web iPage hosting space and would have just uploaded again fine? I would assume so, and then it is just a matter of creating a username/password to be able to connect to that database I'm just not sure how to go about it..

Any light you could shed would be greatly appreciated..

Thank you,.

Ted..

Comment #2

Hi Ted,.

You create the user names and link to the database from your wen host control panel..

The database will not have downloaded with the store as it is kept seperate, the only way you will have a copy is if you created a database backup from your admin. in this case the database will be stored in your admin / backups folder.

Nic..

Comment #3

Thanks Nic, that makes sense..

I have found the old databases and have uploaded them using phpMyAdmin and did some SQL queries and the data seems to be fine..

I have also created usernames and passwords and linked to the databases however there seems to be some problem with the way they are linked to the database as the same message is still coming up i.e.:.

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mrbuzzie_osc'@'localhost' (using password: YES) in /home/mrbuzzie/public_html/osc/catalog/includes/functions/database.php on line 19.

Unable to connect to database server!.

I'm not sure I understand the step between pressing Enter from.

Http://www.mrbuzzie.com/.

And how it connects to the databases using this username / password aside from using /home/mrbuzzie/public_html/osc/catalog/includes/functions/database.php.

The contents of the MySQL Account Maintenance of cPanel are.

:.

Current Databases:.

Mrbuzzie_osc.

Users in osc.

Mrbuzzie_osc (Privileges: ALL PRIVILEGES).

Connection Strings.

Perl $dbh = DBI->connect("DBI:mysql:mrbuzzie_osc:localhost",.

"mrbuzzie_osc","<PASSWORD HERE>");.

PHP $dbh=mysql_connect ("localhost", "mrbuzzie_osc",.

"<PASSWORD HERE>") or die('Cannot connect to the database because: 'mysql_error());.

Mysql_select_db ("mrbuzzie_osc");.

Mrbuzzie_oscau.

Users in oscau.

Mrbuzzie_oscau (Privileges: ALL PRIVILEGES).

Connection Strings.

Perl $dbh = DBI->connect("DBI:mysql:mrbuzzie_oscau:localhost",.

"mrbuzzie_oscau","<PASSWORD HERE>");.

PHP $dbh=mysql_connect ("localhost", "mrbuzzie_oscau",.

"<PASSWORD HERE>") or die('Cannot connect to the database because: 'mysql_error());.

Mysql_select_db ("mrbuzzie_oscau");.

The contents of /home/mrbuzzie/public_html/osc/catalog/includes/functions/database.php are.

(around and including line 19):.

Function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') {.

Global $$link;.

If (USE_PCONNECT == 'true') {.

$$link = mysql_pconnect($server, $username, $password);.

} else {.

$$link = mysql_connect($server, $username, $password);.

}.

If ($$link) mysql_select_db($database);.

Return $$link;.

}.

Thanks again for your help. Must be only 1 step away from making this work..

Best regards,.

Ted.

This post has been edited by.

Uworlds.

: 04 February 2009, 09:46..

Comment #4

Hello,.

The above connection issues how seem to be fixed however the following message is now coming up after clicking on 'Enter' from www.mrbuzzie.com (Adult content Web site):.

Warning: I am able to write to the configuration file: /home/mrbuzzie/public_html/osc/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file..

Do you know how this may be fixed? Many thanks,.

Kind regards,.

Ted..

Comment #5

You need to set the permissions of files.

Includes / configure.php.

Admin / includes / configure.php.

Download the file I have attached, upload to your root directory and then call it.

Http://www.mrbuzzie.com/CHMOD.php.

It will change the permissions for you.

NOTE: This is set up to work on your store only.

Nic..

Comment #6

Ahh Nic, thanks mate you are a legend! That worked perfectly..

I also duplicated the URLs for the /au/ section of the iPage site and copied the CHMOD file and placed under that directory and then executed the URL and it worked just great. I also finally figured out why some URLs had /home/ and /home2/ and that appears to be because I have two oscommerce setups within the same iPage hosting space for the au and non-au sites..

Thank you so much for your help, truly - really great!.

Cheers,.

Ted..

Comment #7

You're welcome, glad it worked for you :-).

Nic..

Comment #8

Hello.

Warning this is an Adult online store..

When clicking on "Enter" from page.

Http://www.mrbuzzie.com/.

The following message comes up:.

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mrbuzzie_osc'@'localhost' (using password: YES) in /home/mrbuzzie/public_html/osc/catalog/includes/functions/database.php on line 19.

Unable to connect to database server!.

Contents of .htaccess at the root level is:.

SuPHP_ConfigPath /home/mrbuzzie/public_html/.

Options +FollowSymLinks.

Contents of php.ini at root level is:.

Register_globals = On.

I have also tried in php.ini:.

Php_value register_globals 1.

But then message comes up:.

Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory..

I have no clue what is wrong or why the iPage site is not working. It was working before in this same Web iPage hosting space but went offline for a while. Now it is being re-loaded but can not get it operational. Would be so grateful if anyone can get the iPage site working even if I have to pay for someone to do it..

Thanks for any help..

Regards,.

Ted..

Comment #9

For the php globals try this instead.

Php_flag register_globals on.

The.

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mrbuzzie_osc'@'localhost' (using password: YES) in /home/mrbuzzie/public_html/osc/catalog/includes/functions/database.php on line 19.

Unable to connect to database server!.

Is a message to say that the user details are incorrect.

NIc..

Comment #10


This question was taken from a support group/message board and re-posted here so others can learn from it.