Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Blank Admin page


peso

Recommended Posts

Hi all :D

 

During the time that I checked out the information under www.mydomain.com/admin and changed some standard info to fit my needs I just clicked on some text info , don't really remember what it was, but I was linked somewhere to a blankpage.

 

I after that I browsed to www.mydomain.com and www.mydomain.com/admin they where both just a blank pages.

 

Is it somebody out there who knows how to get the admin page back.

 

I appreciate any suggestion

 

/peso

Link to comment
Share on other sites

If you can't remember what did to 'undo' it - I suggest you make a note of this: ALWAYS BACK UP YOUR FILES BEFORE WORKING ON THEM!

 

Now that is out of the way, I think you should replace the files on your store using the downloaded osc store on your desktop and upload the full pages on the server (you know, the ones you worked on)

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Link to comment
Share on other sites

If you can't remember what did to 'undo' it - I suggest you make a note of this: ALWAYS BACK UP YOUR FILES BEFORE WORKING ON THEM!

 

Now that is out of the way, I think you should replace the files on your store using the downloaded osc store on your desktop and upload the full pages on the server (you know, the ones you worked on)

 

Thanks for your re.

Sure, it's important to write down what you'r change but I did not change anything, just clicked on a link to read the info inside.

 

Is it possible to just reinstall or change some file in the admin folder, you think. Then to reinstall the whole osC.

I have the originale files on my pc but I don't know which file I should change.

 

Thanks allot

/peso

Link to comment
Share on other sites

Hi Peso,

 

did your provider install PHP4.4.5?

I had the same problem yestyerday.

No solution yet.

 

regards,

Tom

 

Hi Tom

 

My provider has php5 and mysql5.

Is this not possible. Do I have to make an uppdate or something with the osC. I'm useing oscommerce-2.2ms2-060817 and downloaded it from the osC site.

 

Thanks

Peso

Link to comment
Share on other sites

Hi Tom

 

My provider has php5 and mysql5.

Is this not possible. Do I have to make an uppdate or something with the osC. I'm useing oscommerce-2.2ms2-060817 and downloaded it from the osC site.

 

Thanks

Peso

 

Still having the same problems after reinstalled the osCommerce.

Could it have something to do with my provider, that they are useing php5 and mysql5. Maybe osCommerce2.2 doesn't support it.

 

Please help

Link to comment
Share on other sites

peso your oscommerce version? its a template??? my problem is it admin (bad)

 

Hi kuarkito

 

I downloaded the oscommerce-2.2ms2-060817 for windows users from osC homesite and thats about all.

 

I still have problem with "blank admin page", even after an reinstallation.

I been looking around everywhere on this and other forums, new and old message and google around on internet and spent about 40 hours just trying to install osCommerce and still can't find a proper solution to fix the blank admin page.

I even read message from forums from 2003 with this kind of problem, but with no solutions. So this problem is not new. And some body have to know how we can solve it.

 

Please help us

Link to comment
Share on other sites

Hi all

 

After I changed the set of permission to 777 for both include/configure.php and admin/include/configure.php

I also changed my root path in those files.

 

check this:

(Admin/includes.php)

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://MyDomainName'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://MyDomainName);

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/NameOfMyAccountOnServer/public_html/osCommerceFolder/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/NameOfMyAccountOnServer/public_html/osCommerceFolder/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/'); // absolute path required

define('DIR_FS_CATALOG', '/home/NameOfMyAccountOnServer/public_html/osCommerceFolder/'); // absolute path required

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 our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'MyuserName');

define('DB_SERVER_PASSWORD', '******');

define('DB_DATABASE', 'NameOfMyDatabase');

define('USE_PCONNECT', 'false'); // use persisstent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

 

Check this:

(includes/configure.php)

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://MyDomainName'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'osCommerceFolder');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/home/NameOfMyAccountOnServer/public_html/osCommerceFolder/tmp/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

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/NameOfMyAccountOnServer/public_html/osCommerceFolder/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'UserName');

define('DB_SERVER_PASSWORD', '*********');

define('DB_DATABASE', 'NameOfMyDtabase');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

 

I'am not 100% sure that I use the right cookie path and domain.

 

"I do not yet use the ssl or https"

 

This works for me, and I do no longer get the blank page.

Thanks for all the response.

 

/Peso

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...