Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Logging in issue


jreid

Recommended Posts

Posted

When I click www.domain.com/account.php or www.checkout_shipping.php it just takes me to the generic the website page cannot be displayed like it doesn't find it within the site. I had this happen before and I think it was somewhere in the admin file it was a config file but I could be wrong. I have already tried to re upload includes/classes/boxes.php and when I do that it takes me to a blank page it don't even say page cannot be found. Is there anyone who can point me in the right direction?

Posted

Justin,

 

Does it say DONE on the bottom of the browser ? If so, your pages have 'whitespace' and need to be edited to remove that 'whitespace'.

 

 

 

Chris

Posted

Justin,

 

Does it say DONE on the bottom of the browser ? If so, your pages have 'whitespace' and need to be edited to remove that 'whitespace'.

 

 

 

Chris

 

It does say done you can take a look at it if you would like www.heattreatdepot.com/account.php . How do you remove the white space if this is the problem?

Posted

Justin,

 

I am going to suggest that you have used File Manager from the admin to edit your pages ?? is that correct ?

 

 

Whitespace is caused by a character (even invisible) before or after the <?php and ?> tags. If you used file manager you will notice little boxes before and after these tags and on every other line. You will need to remove these. You should use notepad++ or editplus (or some other text editor) to make corrections to your files.

 

 

Chris

Posted

Chris,

 

I always use notepad to edit all of my files. But what files will I need to edit?

Posted

Justin,

 

The login.php file is definitely one of them, start there....then go through each page to ensure they all load correctly.

 

 

Chris

Posted

Chris,

 

Im getting errror.

 

Fatal error: Cannot redeclare tep_validate_password() (previously declared in /hermes/bosweb/web063/b636/ipw.htdepot/public_html/includes/functions/password_funcs.php:16) in /hermes/bosweb/web063/b636/ipw.htdepot/public_html/includes/functions/password_funcs.php on line 29

Posted

Can you remember what you did before you got this error?

 

The last thing I edited before I noticed the error was includes/header.php and now after following chris's steps I'm getting

 

Fatal error: Call to a member function add_current_page() on a non-object in /hermes/bosweb/web063/b636/ipw.htdepot/public_html/includes/application_top.php on line 312

 

on every page.

Posted

Justin,

 

This is how line 16 should look:

 

function tep_validate_password($plain, $encrypted) {

if (tep_not_null($plain) && tep_not_null($encrypted)) {

 

 

To correct the application_top.php error............clear your cookies and cache. The browser is trying to use cached pages.

 

 

 

Chris

Posted

Justin,

 

This is how line 16 should look:

 

function tep_validate_password($plain, $encrypted) {

if (tep_not_null($plain) && tep_not_null($encrypted)) {

 

 

To correct the application_top.php error............clear your cookies and cache. The browser is trying to use cached pages.

 

 

 

Chris

 

 

I cleared all my history and cookies. You can see the error at www.heattreatdepot.com/index.php on every page now it is saying.

 

Fatal error: Call to a member function add_current_page() on a non-object in /hermes/bosweb/web063/b636/ipw.htdepot/public_html/includes/application_top.php on line 312

 

what else can I check

Posted

I cleared all my history and cookies. You can see the error at www.heattreatdepot.com/index.php on every page now it is saying.

 

Fatal error: Call to a member function add_current_page() on a non-object in /hermes/bosweb/web063/b636/ipw.htdepot/public_html/includes/application_top.php on line 312

 

what else can I check

 

 

Well it shows up on my blackberry. How do you clear your cache on your computer?

Posted

Justin,

 

I was just on the site, it is operational.

 

In FF, use tools.......clear recent history. I am not sure what it is in IE.

 

The password error is still present.

 

 

The application_top.php error will correct itself if you take a lunch break....lol...the cache just needs time to clear.

 

 

 

Chris

Posted

Justin,

 

I was just on the site, it is operational.

 

In FF, use tools.......clear recent history. I am not sure what it is in IE.

 

The password error is still present.

 

 

The application_top.php error will correct itself if you take a lunch break....lol...the cache just needs time to clear.

 

 

 

Chris

 

 

Clearing the cache fixed that issue now I'm getting on www.heattreatdepot.com/admin

 

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /hermes/bosweb/web063/b636/ipw.htdepot/public_html/admin/includes/functions/database.php on line 19

Unable to connect to database server!

 

Do I need to do something to the admin/includes/functions/database.php file?

Posted

Clearing the cache fixed that issue now I'm getting on www.heattreatdepot.com/admin

 

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /hermes/bosweb/web063/b636/ipw.htdepot/public_html/admin/includes/functions/database.php on line 19

Unable to connect to database server!

 

Do I need to do something to the admin/includes/functions/database.php file?

 

 

Also, I'm getting on www.heattreatdepot.com/account.php

 

Fatal error: Cannot redeclare tep_validate_password() (previously declared in /hermes/bosweb/web063/b636/ipw.htdepot/public_html/includes/functions/password_funcs.php:16) in /hermes/bosweb/web063/b636/ipw.htdepot/public_html/includes/functions/password_funcs.php on line 29

 

How do you fix this?

Posted

Also, I'm getting on www.heattreatdepot.com/account.php

 

Fatal error: Cannot redeclare tep_validate_password() (previously declared in /hermes/bosweb/web063/b636/ipw.htdepot/public_html/includes/functions/password_funcs.php:16) in /hermes/bosweb/web063/b636/ipw.htdepot/public_html/includes/functions/password_funcs.php on line 29

 

How do you fix this?

 

 

Chris,

 

Have you had a chance to take a look at these errors?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...