Nexology Community
 
     
 
   

Go Back   Nexology Community > Community Zone > E-commerce: Questions + Comments

Reply
 
LinkBack Thread Tools Display Modes
Old 01-11-2007, 11:10 AM   #1
Registered User
 
Gailvin's Avatar
 
Join Date: Nov 2002
Location: Abbotsford, BC
Posts: 76
OSC blank pages

Hello,
I am having a serious problem with my shopping cart. When navigating or going through the cart process I get blank pages. This even happens in the admin section.

I may be adding or editing in the admin and when I click for the next page or to up date, the page loads blank. In the bottom left corner it ways I'm on the right page and if I reload it will pop back up.

And when I've been going through my catalog just browsing, one page may load blank. Hit refresh and it's there.

I've put lots of time into this site and I don't have a clue where I would start to look for the problem.

Anyone evercome across this?

my web site

Thanks
__________________
......confused rookie.
Gailvin is offline   Reply With Quote
Old 01-11-2007, 04:19 PM   #2
Registered User
 
Gailvin's Avatar
 
Join Date: Nov 2002
Location: Abbotsford, BC
Posts: 76
Just as an update:

I just installed CRELoaded(in a seperate directory), have not changed or edited anything and I'm getting the same results. Actually even in the setup it blanked out and when I reloaded the page it was fine. This started happening after I posted the datbase info and had it set up. Could there be an issue with the database?

Thanks.
__________________
......confused rookie.
Gailvin is offline   Reply With Quote
Old 01-11-2007, 04:21 PM   #3
You and what a
 
RobbieLePommie's Avatar
 
Join Date: Aug 2002
Location: Sydney
Posts: 5,928
I can confirm the problem, but have no idea of the solution.

Usually when a page loads blank like that it is because of an error in the code and you have errors set to "off". Set the errors to show (check the PHP manual for about 3 different ways of doing it). But, clicking refresh shouldn't solve the problem (as it does).

Try errors first, see if you get anything.
__________________
Rob
----------------------------
For your information, there's a lot more to ogres than people think.
RobbieLePommie is offline   Reply With Quote
Old 01-12-2007, 05:02 PM   #4
Registered User
 
Gailvin's Avatar
 
Join Date: Nov 2002
Location: Abbotsford, BC
Posts: 76
Quote:
Originally Posted by RobbieLePommie
I can confirm the problem, but have no idea of the solution.

Usually when a page loads blank like that it is because of an error in the code and you have errors set to "off". Set the errors to show (check the PHP manual for about 3 different ways of doing it). But, clicking refresh shouldn't solve the problem (as it does).

Try errors first, see if you get anything.
ummmm....how do you know I have the errors set to off? I don't even know that. Where would I find this manual to find out how to set it to on?


Thanks
__________________
......confused rookie.
Gailvin is offline   Reply With Quote
Old 01-12-2007, 09:25 PM   #5
You and what a
 
RobbieLePommie's Avatar
 
Join Date: Aug 2002
Location: Sydney
Posts: 5,928
There is a function called error_reporting() that you can set as the very first line of the PHP file: http://www.php.net/error-reporting That's probably the easiest.

But lso check hte code to make sure something else doesn't turn the error reporting off again....

Also, if you have a function call preceded by an @ (e.g. @mail() ) then this will turn off error reporting for the mail function or below - so also check that these aren't used... But start with the function, and see if that makes a difference.
__________________
Rob
----------------------------
For your information, there's a lot more to ogres than people think.
RobbieLePommie is offline   Reply With Quote
Old 01-12-2007, 10:26 PM   #6
Registered User
 
Gailvin's Avatar
 
Join Date: Nov 2002
Location: Abbotsford, BC
Posts: 76
so if I put :

error_reporting (E_ALL);

at the top of each page just below the line <?php it will tell me if there is an error on the page.

Sorry if I seem a little thick headed, I really don't know anything about php, but I am picking things up along the way.

I really appreciate your help, thanks.

Kelvin.
__________________
......confused rookie.
Gailvin is offline   Reply With Quote
Old 01-13-2007, 05:13 AM   #7
You and what a
 
RobbieLePommie's Avatar
 
Join Date: Aug 2002
Location: Sydney
Posts: 5,928
Nope - not "thick-headed" at all. You got it in one.

Although, having just checked, it all appears to be working now. Does that mean you sussed it?
__________________
Rob
----------------------------
For your information, there's a lot more to ogres than people think.
RobbieLePommie is offline   Reply With Quote
Old 01-14-2007, 01:39 PM   #8
Registered User
 
Gailvin's Avatar
 
Join Date: Nov 2002
Location: Abbotsford, BC
Posts: 76
I posted the same question on the OSC website and one guy pointed out a flaw I hade in the header.php file. It was loading a <head> and <body> tags into the header file so each page actually ended up having 2 sets of head and body tags.

I also seen where in two of the modules I had loaded where there order was both set to '0', so I changed to 1 and 2 instead. I changed those things and I haven't been able to get the page to load blank since.

But that still doesn't explain why it loads blank pages in the admin page or for the fact that when configuring the CREloaded cart the pages blanked out lots, especially when everything is still stock and no changes were made.
Thats why I was suspecting the server database.
__________________
......confused rookie.
Gailvin is offline   Reply With Quote
Old 01-27-2007, 01:16 PM   #9
Registered User
 
Gailvin's Avatar
 
Join Date: Nov 2002
Location: Abbotsford, BC
Posts: 76
Well I thought I had the problem licked and I was trying to get it to load blank for the longest time and it finally happened again to a few pages. It even happened to the pages where i put that code in and I did not receive any error message at all, the page was still blank.

Any more thoughts from anyone?


Thanks,

Kelvin.
__________________
......confused rookie.
Gailvin is offline   Reply With Quote
Old 02-08-2007, 01:51 AM   #10
Registered User
 
Gailvin's Avatar
 
Join Date: Nov 2002
Location: Abbotsford, BC
Posts: 76
Well for some reason I've started getting this error:

"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."

How do I fix this?

Thanks.
__________________
......confused rookie.
Gailvin is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:45 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 RC1
Copyright ©2001 - 2009, HostNexus