Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please can someone help? My catalog is a blank page


definitivefreak

Recommended Posts

Hey everyone. I'm trying to recover from a failed attempt at installing the Social Login addon. I've removed all code that was added, and removed all extra files that were added. But now my catalog page is just a blank page. It started off as a plain white page, but now it's my background colour. How do I get my catalog back? Please please help me...

Link to comment
Share on other sites

Hi Laura,

 

sounds to me that you have made a mistake with the file edits unlikely that you have a database problem.

 

So bug hunting .... install the original files (the files that you changed ) one by one until you find your error would think that you deleted a curly bracket } by mistake or maybe added white spaces

 

Regards

Joli

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

A white page is usually caused by a fatal error in the code. If it occurs after changes like you've made, it is usually caused by the language file being uploaded to the root, or vice versa. If you visit a different page, like privacy.php and it loads, then that is what it is.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Guys, I got my catalog back again. I added a line of code to .htaccess to bring up any error messages. I'd left a line of code in a page, and now that it's gone I can see the catalog.

 

Now the only issue is the white page while trying to view the admin panel. Flock and Safari tell me it's a redirect loop.

 

My admin/includes/configure.php code is here:

 

 

<?php
 define('HTTP_SERVER', 'http://www.emeraldrose.co.uk');
 define('HTTPS_SERVER', 'http://www.emeraldrose.co.uk');
 define('ENABLE_SSL', false);
 define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/catalog-1/');
 define('HTTPS_COOKIE_PATH', '/catalog-1/');
 define('DIR_WS_HTTP_CATALOG', '/catalog-1/');
 define('DIR_WS_HTTPS_CATALOG', '/catalog-1/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/home/vol11_4/getfreehosting.co.uk/getfh_6296037/emeraldrose.co.uk/htdocs/catalog-1/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 define('DB_SERVER', 'sql102.byetcluster.com');
 define('DB_SERVER_USERNAME', '*****');
 define('DB_SERVER_PASSWORD', '*****');
 define('DB_DATABASE', '*******');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

 

Is there anything wrong here?

Link to comment
Share on other sites

Oh wait, that was catalog/includes/configure.php... Here's the right one.

 

 

<?php
 define('HTTP_SERVER', 'http://www.emeraldrose.co.uk');
 define('HTTP_CATALOG_SERVER', 'http://www.emeraldrose.co.uk');
 define('HTTPS_CATALOG_SERVER', 'http://www.emeraldrose.co.uk');
 define('ENABLE_SSL_CATALOG', 'false');
 define('DIR_FS_DOCUMENT_ROOT', '/home/vol11_4/getfreehosting.co.uk/getfh_6296037/emeraldrose.co.uk/htdocs/catalog-1/');
 define('DIR_WS_ADMIN', '/catalog-1/adER/');
 define('DIR_FS_ADMIN', '/home/vol11_4/getfreehosting.co.uk/getfh_6296037/emeraldrose.co.uk/htdocs/catalog-1/adER/');
 define('DIR_WS_CATALOG', '/catalog-1/');
 define('DIR_FS_CATALOG', '/home/vol11_4/getfreehosting.co.uk/getfh_6296037/emeraldrose.co.uk/htdocs/catalog-1/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
 define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
 define('DB_SERVER', 'sql102.byetcluster.com');
 define('DB_SERVER_USERNAME', '******');
 define('DB_SERVER_PASSWORD', '*******');
 define('DB_DATABASE', '*******');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

Link to comment
Share on other sites

@@definitivefreak

 

Pls. never give up here the configure.php which is not referal to problem and we can not do with anything. You give for hackers a good chance.

I wont delete your post rather change the configurations to defend your site.

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Link to comment
Share on other sites

Hey Laura,

 

Do you get the white page before or after you log on at the admin section? Have you changed admin/includes/application_top.php? I think the problem is caused there, when redirecting non-logged-in visitors...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...