View Full Version : Newbie Help needed - blank page problem
perfectprices
29-03-07, 02:14
Hi all,
I have followed the integration document for the client software upload very carefully step by step several times now. I have set all of the necessary permissions and enabled PHP(4) through my web hosting provider.
No matter what I do, I only receive a blank page with the title "ShopWindow Client - Where do you want to shop today?"
Please see here: www.perfectprices.net
I have followed the exact same steps and uploaded to my ISP webspace as a test and have no issues - the ShopWindow interface appears and functions as expected.
Does anyone have any suggestions as to what the problem could be?
Morning Perfect,
Can you email me your affiliate details so I can take a look at your account?
If easier, give me a call and I can try and help over the phone.
Thanks
Amo
amarath.sokhi@affiliatewindow.com
0208-269-4853
Confuscius
29-03-07, 11:08
Your 'blank page' does generate something - view the source. It looks like you need to check the modifications that you have made on initial set up. For example the source contains the following link to your stylesheet:
/templates\template_3a_blue\/css/styles.css
Notice the \ and \/
You can also get the dreaded white screen if you have added some additional php and made a mistake - I know as I make lots of mistakes myself!
Paul
Hi Perfect,
Follow each step only if the previous one didn’t solve the problem:
Step 1: Go to includes/constants.inc.php and set line #25 "ini_set('display_errors', 1); // php errors" to 1 to display all PHP errors
Step 2: Go to includes/soap/constants.inc.php and set lines #10-12 :
define('PS_SOAP_TRACE', true);
define('PS_PRINT_SOAP_ERRORS', true);
define('PS_PRINT_SOAP_DEBUG', true);
That will display all SOAP communication, check it's taking place as expected
Step 3: Try using the modular implementation instead (bespoke functionality)
Let me know how you get on.
Amo
perfectprices
29-03-07, 21:40
Your 'blank page' does generate something - view the source. It looks like you need to check the modifications that you have made on initial set up. For example the source contains the following link to your stylesheet:
/templates\template_3a_blue\/css/styles.css
Notice the \ and \/
You can also get the dreaded white screen if you have added some additional php and made a mistake - I know as I make lots of mistakes myself!
Paul
Hi Paul,
Many thanks for your help. I've kept everything very simple by just following the installation instructions and using the provided index.php as my homepage. I have made no modifications of my own to the file set provided by AW. Once the files have been uploaded to the root folder of the site, I have set the permissions to 777 on the templates_c folder as required. I then go to the site and receive the blank page. I have even moved all other existing files and directories to a new directory within the root folder and still no luck.
I have just uploaded the same files and set the permissions on my isp provided webspace and it works first time.
Thanks again,
Ben
perfectprices
29-03-07, 21:43
Hi Perfect,
Follow each step only if the previous one didn’t solve the problem:
Step 1: Go to includes/constants.inc.php and set line #25 "ini_set('display_errors', 1); // php errors" to 1 to display all PHP errors
Step 2: Go to includes/soap/constants.inc.php and set lines #10-12 :
define('PS_SOAP_TRACE', true);
define('PS_PRINT_SOAP_ERRORS', true);
define('PS_PRINT_SOAP_DEBUG', true);
That will display all SOAP communication, check it's taking place as expected
Step 3: Try using the modular implementation instead (bespoke functionality)
Let me know how you get on.
Amo
Hi Amo,
Thanks very much indeed for the tips.
Step 1 - there is no change after making this amendment to the constants.inc.php (blank page loads)
Step 2 - Lots of communication displayed onscreen including product details - I presume this is therefore working correctly.
Step 3 - I shall look into this however just starting out I am not proficient in PHP but willing to learn :D
Thanks again,
Ben
I noticed that product.php (or was it category.php) doesn't have a closing PHP tag (?>)
This can cause blank screens in some browsers.
Also, make sure that none of the files have any white space before the opening tag (<?PHP) or after the closing (?>) as this too can cause blank screens.
If you find any white space in anyof the files, post the file names here please so we can all sort them out.
ushop-online
01-04-07, 19:49
Product.php -- Good spot Andy!
Product.php -- Good spot Andy!
Yeah, me know!!
Its only a tiny thing but it can cause so many problems.
When the files "stack" using includes, requires etc, you can end up with an error caused by ahaving an open tag where there really shouldn't be. Most servers will just ignore this, some will work around it (causing alittle slow down) but some will just die.
I have 1 server that ignores it, and one that dies completely