Joleyy Posted January 6, 2009 Share Posted January 6, 2009 Hello Friends,I've got a really annoying problem, i dont have any clue to solve it. Description:When you put a product in cart, and going to "Checkout", it takes you to: order.php?step=1. But, when im comming there, i just get a blank white page. I have tried with everything i think. I've tried to replace all modules in modules/ folder, i've tried another theme, but no change.Do someone knows where the problem could be? Could it be a permission problem? Really strange problem.... Thanks in advance. Link to comment Share on other sites More sharing options...
_Julian Posted January 6, 2009 Share Posted January 6, 2009 Could it be a permission problem? Really strange problem.... Yes and no.Write permissions on files and folders:# /config# /tools/smarty/compile# /sitemap.xmlWrite permissions on folders and subfolders/recursively:# /img# /mails# /modules# /themes/prestashop/lang# /translations# /upload# /download Link to comment Share on other sites More sharing options...
Joleyy Posted January 6, 2009 Author Share Posted January 6, 2009 Julian, i have already set the CHMOD correct on every folder. I thought it could be a permission problem for the costumer account ... but i guess no. I cant understand how this appears, its kinda wierdo. After i get the white page, i need to delete "Domain Cookies" to acess the site again. Link to comment Share on other sites More sharing options...
TropischBruin Posted January 6, 2009 Share Posted January 6, 2009 It could be that it is cookie related.What is your server-logs / hoster saying about this? Link to comment Share on other sites More sharing options...
Joleyy Posted January 6, 2009 Author Share Posted January 6, 2009 The strange thing is that it has worked fine before... the latest date it worked good were: 2008-12-05 ... Is there any logs or something i could delete from the site FTP or what do you guys think i should do? this is a huge problem. Link to comment Share on other sites More sharing options...
Zigma Posted January 6, 2009 Share Posted January 6, 2009 Try to remove your mail settings. I kind of makes a blank page when setting up faulty.doh. Link to comment Share on other sites More sharing options...
Joleyy Posted January 6, 2009 Author Share Posted January 6, 2009 What do the e-mail settings relate to "order.php?step=1" page? Its kinda impossible... there has to be another little problem that makes this annoying problem. Getting sick of this .. Link to comment Share on other sites More sharing options...
_Julian Posted January 6, 2009 Share Posted January 6, 2009 Does it work with SSL disabled? Link to comment Share on other sites More sharing options...
Joleyy Posted January 6, 2009 Author Share Posted January 6, 2009 Julian: I dont have SSL enabled. The onlinestore runs without SSL. Link to comment Share on other sites More sharing options...
TropischBruin Posted January 7, 2009 Share Posted January 7, 2009 What has changed on your server?Ask you hoster to look at the server-logs. Link to comment Share on other sites More sharing options...
Paul C Posted January 7, 2009 Share Posted January 7, 2009 The blank page will be due to an error in the php code. The most reliable way of discovering what the problem is would be to look at the error log on the server - however - most hosting companies don't bother setting this up. I suggest you contact your hosting company and ask where/how you can have php errors logged on your site. You can then report back the error message that appears in the log file.Paul Link to comment Share on other sites More sharing options...
F.P. Posted January 7, 2009 Share Posted January 7, 2009 I have no Presta Live-Shop, I am evaluating it just on a localhost and have already seen those blank pages problem. It has nothing to do with SSL or wrong php code. Prestashop has some problems on Unix-Servers with activated cache systems like APC, XCache or eAccelerator. It can happen with some pages like the shopping cart. And it can happen while trying to login into the admin section. Maybe your hoster did activate one of those cache systems.Prestashop does not work well with those cache systems. Link to comment Share on other sites More sharing options...
Paul C Posted January 7, 2009 Share Posted January 7, 2009 Your statement "It has nothing to do with SSL or wrong php code" is wrong I'm afraid. I'm not saying that using those extensions you've mentioned won't cause a similar symptom, but they're most certainly not the only thing that causes them, and I suspect are only relevant in a small number of cases - most hosting won't have them installed by default, as they're not always compatible......It does give the OP another avenue to explore though.Paul Link to comment Share on other sites More sharing options...
remoteONE Posted January 8, 2009 Share Posted January 8, 2009 Ive got the same problem.Blank order.php screen following the shipping stage of the checkout.I'm running// localhost php 5.2.6mySQL 5.0.67Mozilla firefox Windows XPDefault ThemeOnly 3 products listed for testing purposes.So if its a wrong PHP code problem then its a PresaShop problem!What can I do to get a log of PHP ERROR CODES ??Cheers Link to comment Share on other sites More sharing options...
Paul C Posted January 8, 2009 Share Posted January 8, 2009 On your local host you need to edit the php.ini files to turn it on (there's probably more than one copy on there; apache will have its own copy).Lookfor the section headed : ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Error handling and logging ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Use the following settings to enable it (probably needs you to restart apache) error_reporting = E_ALL & ~E_NOTICE log_errors = On error_log = C:\xampp\apache\logs\phperror.log Note that in the last line, the actual location of the log file will depend on the software you're using. Some of these configuration values will be commented out by default, so make sure you remove the semi-colon at the start of the line before changing the value.Paul Link to comment Share on other sites More sharing options...
remoteONE Posted January 8, 2009 Share Posted January 8, 2009 Thanks Paul,The log file was only generated following the blank orders.php screen.PHP error log messages as follows,[08-Jan-2009 21:48:19] PHP Notice: Undefined variable: delivery_state in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\prestashop\modules\mailalerts\mailalerts.php on line 125[08-Jan-2009 21:48:19] PHP Notice: Trying to get property of non-object in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\prestashop\modules\mailalerts\mailalerts.php on line 125[08-Jan-2009 21:48:19] PHP Notice: Undefined variable: invoice_state in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\prestashop\modules\mailalerts\mailalerts.php on line 134[08-Jan-2009 21:48:19] PHP Notice: Trying to get property of non-object in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\prestashop\modules\mailalerts\mailalerts.php on line 134I'll have a look at the mailalerts.php file but im not a programmers freckle.Hope you can help. Link to comment Share on other sites More sharing options...
Dave Egerton Posted January 8, 2009 Share Posted January 8, 2009 You do have your mails folder (root) installed and with right permissions?if this folder is missing/corrupt it cana) Shown flags in backOffice, but input fields are missing Cause blank pages Just in case! Link to comment Share on other sites More sharing options...
remoteONE Posted January 8, 2009 Share Posted January 8, 2009 Yep, all the folders n files have the correct permissions . All write enabled as per instruction.mailalerts.php line 125 '{delivery_state}' => $delivery->id_state ? $delivery_state->name : '',line 134 '{invoice_state}' => $invoice->id_state ? $invoice_state->name : '',Updating "My Account" I see that the State box shows "--" even tho the state value "South Australia" is showing in the saved address.I would have thort the State would be showing the previously set value rather than "--". Is that normal ?When I set the address to USA (Arizona) , it still crashes.Happy trails Link to comment Share on other sites More sharing options...
remoteONE Posted January 11, 2009 Share Posted January 11, 2009 Hmm.. no one has any ideas for a fix?I had similar problem when using zen cart, also gave a blank page (almost blank, some text) at the same stage of the cart. Turned out that it was a SQL query bug with SQL 5The zen fix was to check for invalid data in a variable. /includes/classes/order.php file.PrestaShop does things a little differently, but I m hoping this info may help.Prestashop is easier to setup than ZenCart, and the Cart module is good, especially the more secure way PS handles downloadable product.Would be better if the "Shipping" stage was skipped for virtual products, and PS NEEDS an AusPost shipping module !But until I have a fix for this problem, I cant use PresaShop. Now, my PHP errors shown in the previous post:line 125 ‘{delivery_state}’ => $delivery->id_state ? $delivery_state->name : ‘’,line 134 ‘{invoice_state}’ => $invoice->id_state ? $invoice_state->name : ‘’,Maybe there is an SQL query problem when accessing id_state, $delivery_state & $invoice_state ??I dont know , but thort this info might help solve issue.Anyone have same issue? Anyone have a fix ?Anyone out there? Link to comment Share on other sites More sharing options...
remoteONE Posted January 23, 2009 Share Posted January 23, 2009 Hello...anyone out there? Link to comment Share on other sites More sharing options...
remoteONE Posted January 27, 2009 Share Posted January 27, 2009 Anyone? Link to comment Share on other sites More sharing options...
Parintelu Posted February 11, 2009 Share Posted February 11, 2009 Bye Bye...I'm off to ZEN CART.... )just another Rookie Link to comment Share on other sites More sharing options...
remoteONE Posted February 13, 2009 Share Posted February 13, 2009 wt? Link to comment Share on other sites More sharing options...
adyplanes Posted February 17, 2009 Share Posted February 17, 2009 I am getting this error as well can some one please gove me some pointers on what they think causes this. Link to comment Share on other sites More sharing options...
Parintelu Posted February 18, 2009 Share Posted February 18, 2009 just give it a minute look into your server log or try to replace you EN language file into your folders on the server, just upload the original file over that and should work well, it did for me. Link to comment Share on other sites More sharing options...
adyplanes Posted February 18, 2009 Share Posted February 18, 2009 I will try this tonight and if it works I will leave info and if it does not work could you please explain how i can enable logging on Prestashop to see some kind of output in a files that I can A work through and B upload to the forum for others to viewMany thanks ADy Link to comment Share on other sites More sharing options...
Parintelu Posted February 18, 2009 Share Posted February 18, 2009 could you rephrase that ? plsbecause i didn't get anything !!A & B, what do you want to do ? give others acces to your files ?? just give them a ftp accound onto that folder !! or what ? Link to comment Share on other sites More sharing options...
adyplanes Posted February 18, 2009 Share Posted February 18, 2009 Sorry, I want to enable some type of looging within Prestashop so that with errors like this, i can refer to a log of some kind to track down the issue.Searched the forum but could not find a document on how to do this.I would like to be able to track errors down myself and post relative nformation on issues. not just "I have a blank screen" but I have a blank screen and my error log is this and i have tried this etc etc Link to comment Share on other sites More sharing options...
remoteONE Posted February 18, 2009 Share Posted February 18, 2009 Look at the first page of this post for PHP error logging.Edit your \windows\php.ini file to enable error logging:Find the following lines ...Mine looks like this:error_reporting = E_ALL & ~E_NOTICElog_errors = Onerror_log = error_log = C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\php_error_logas I am running on a development machine and also using several cart programs, running Apache2.2, mySQL5, PHP5I'd love to find a fix for this ! Link to comment Share on other sites More sharing options...
Parintelu Posted February 18, 2009 Share Posted February 18, 2009 so it's really easyspeak to your hosting provider about this and tell them that you need an error log, and they'll now what to do, also ask them where in your control panel can you see those errors, and thrust me it's a matter of minutes for solving this. Link to comment Share on other sites More sharing options...
adyplanes Posted February 18, 2009 Share Posted February 18, 2009 Ok then i have replaced the EN file and also got the server logs and all it is showing is a missing image, any ideas? Link to comment Share on other sites More sharing options...
Parintelu Posted February 18, 2009 Share Posted February 18, 2009 could you please post the image link that is shown on the web error log ?i think i can manage to give you an answer then ! Link to comment Share on other sites More sharing options...
adyplanes Posted February 18, 2009 Share Posted February 18, 2009 [Wed Feb 18 20:20:28 2009] [error] [client 88.208.201.69] File does not exist: /home/dare2wea/public_html/favicon.ico [Wed Feb 18 20:00:06 2009] [error] [client 90.216.161.10] File does not exist: /home/dare2wea/public_html/img/p/en-default-medium.jpg [Wed Feb 18 19:56:04 2009] [error] [client 90.216.161.10] File does not exist: /home/dare2wea/public_html/img/p/en-default-medium.jpg [Wed Feb 18 19:50:32 2009] [error] [client 90.216.161.10] File does not exist: /home/dare2wea/public_html/img/p/en-default-medium.jpg [Wed Feb 18 19:50:28 2009] [error] [client 90.216.161.10] File does not exist: /home/dare2wea/public_html/img/p/en-default-medium.jpg [Wed Feb 18 19:50:10 2009] [error] [client 90.216.161.10] File does not exist: /home/dare2wea/public_html/img/p/en-default-medium.jpg [Wed Feb 18 19:50:00 2009] [error] [client 90.216.161.10] File does not exist: /home/dare2wea/public_html/img/p/en-default-medium.jpg [Wed Feb 18 19:39:57 2009] [error] [client 90.216.161.10] File does not exist: /home/dare2wea/public_html/img/p/en-default-medium.jpg [Wed Feb 18 19:39:55 2009] [error] [client 90.216.161.10] File does not exist: /home/dare2wea/public_html/img/p/en-default-medium.jpg [Wed Feb 18 19:39:24 2009] [error] [client 90.216.161.10] File does not exist: /home/dare2wea/public_html/img/p/en-default-medium.jpg [Wed Feb 18 19:39:20 2009] [error] [client 90.216.161.10] File does not exist: /home/dare2wea/public_html/img/p/en-default-medium.jpg [Wed Feb 18 19:39:17 2009] [error] [client 90.216.161.10] File does not exist: /home/dare2wea/public_html/img/p/en-default-medium.jpg [Wed Feb 18 19:04:44 2009] [error] [client 90.216.161.10] File does not exist: /home/dare2wea/public_html/img/p/en-default-medium.jpg [Wed Feb 18 19:04:40 2009] [error] [client 90.216.161.10] File does not exist: /home/dare2wea/public_html/img/p/en-default-medium.jpg [Wed Feb 18 19:04:39 2009] [error] [client 90.216.161.10] File does not exist: /home/dare2wea/public_html/img/p/en-default-medium.jpg [Wed Feb 18 18:55:45 2009] [error] [client 90.216.161.10] File does not exist: /home/dare2wea/public_html/favicon.ico [Wed Feb 18 18:35:21 2009] [error] [client 92.14.240.59] File does not exist: /home/dare2wea/public_html/img/p/en-default-medium.jpg Hope this helpsAdy Link to comment Share on other sites More sharing options...
Parintelu Posted February 18, 2009 Share Posted February 18, 2009 have no ideea, let me think about this Link to comment Share on other sites More sharing options...
Parintelu Posted February 18, 2009 Share Posted February 18, 2009 could you please also give the the website address, because i'm getting nothing from the ip's Link to comment Share on other sites More sharing options...
adyplanes Posted February 18, 2009 Share Posted February 18, 2009 Ok then, I have checked all file permissions and a database backup is made before every import of items on the site, so i have removed teh database and setup a new database and have tried to restore it using phpadmin but keep getting a script timeout, the backup file is 1.5 mag and php admin has a max of a 50meg file.After all of this i am putting it down to bad hosting with the page not displaying due to something there end Does this sound right given the issues i am having restoring the database. Link to comment Share on other sites More sharing options...
Parintelu Posted February 18, 2009 Share Posted February 18, 2009 if no data is installed on your server ( i mean products and stuff) then you should reinstall itany others ideea ?! Link to comment Share on other sites More sharing options...
adyplanes Posted February 18, 2009 Share Posted February 18, 2009 The site is built and too much data is in the database for me to do that, I am convinced that it is rubbish hosting, I have left it with the person I am doing the site for but if they still have issues I am going to put it on my hosting as i have had my wifes site flames4u.co.uk for well into four months no with no issues at all. I am convinced i would be able to run it fine there but i will give the other hosting company chance to have a look.Will post info back about how i get on as it seems to be a fault with little info on it. Link to comment Share on other sites More sharing options...
Parintelu Posted February 18, 2009 Share Posted February 18, 2009 man it's terrible what is happening to youhope you solve it as soon as possible,good luck, i'm goind to bed for now, see you tomorow, it's already 2 o'clock in the morning here(am)bye bye for now Link to comment Share on other sites More sharing options...
remoteONE Posted February 26, 2009 Share Posted February 26, 2009 Hi to all.. Just thought I'd better check... are the latest postings still following the original thread topic, ie Blank Page during the check-out process. ?? its a bit hard to tell.If so.. I reckon we need an expert from PrestTeam to help with this. I'm still stuck with this problem on my development machine, and cant proceed.If the thread has gone off topic too far, then maybe its time to start a new one. Looking forward.help Link to comment Share on other sites More sharing options...
remoteONE Posted February 26, 2009 Share Posted February 26, 2009 Hi to all.. Just thought I'd better check... are the latest postings still following the original thread topic, ie Blank Page during the check-out process. ?? its a bit hard to tell.If so.. I reckon we need an expert from PrestTeam to help with this. I'm still stuck with this problem on my development machine, and cant proceed.If the thread has gone off topic too far, then maybe its time to start a new one. Looking forward.help Link to comment Share on other sites More sharing options...
Guest Posted February 26, 2009 Share Posted February 26, 2009 The site is built and too much data is in the database for me to do that, I am convinced that it is rubbish hosting, I have left it with the person I am doing the site for but if they still have issues I am going to put it on my hosting as i have had my wifes site flames4u.co.uk for well into four months no with no issues at all. I am convinced i would be able to run it fine there but i will give the other hosting company chance to have a look.Will post info back about how i get on as it seems to be a fault with little info on it. May we know who is you host? Link to comment Share on other sites More sharing options...
remoteONE Posted March 29, 2009 Share Posted March 29, 2009 In my case, my host is localhost/ on windows Apache Development Machine.I have not gone live with this.I very much doubt that its a host server problem.Where is the PRESTA TEAM for this one ?Looks like an SQL query problem to me, but I am no expert, if I was i may have fixed it by now, its been almost 5 months, still no Presta team response.Actually, this has been so long now.. I have my site up and running at www.remoteone.com.au but using ZEN CART not Prestashop.I wanted to use PrestaShop because it much much easier to use than ZenCart. But there was no Presta Team response to this problem. So I had to Battle it out elsewhere. And believe me ZenCart IS A BATTLE !I see that others have a similar problem thus still monitor this post for the benefit of others. I really like Prestashop, much easier thn ZenCart, but could not resolve this issue. Link to comment Share on other sites More sharing options...
Shadal Posted April 25, 2009 Share Posted April 25, 2009 I get this after installing the UPS Shipping API module...A fresh install seems to work okay.I replaced Carrier.php with the original, and order.php is now working. Of course now the UPS API module doesn't have a chance at working... Link to comment Share on other sites More sharing options...
remoteONE Posted August 7, 2009 Share Posted August 7, 2009 I'm back.Perhaps this is an Apache problem (especially on localhost test machine).Does Prestashop need to be using .htaccess ?Does Apache need "mod_rewrite" enabled ?(LoadModule rewrite_module modules/mod_rewrite.so) and ( AllowOverride All) in the file C:\....Apache2.2\conf\httpd.conf then restart Apache. I enabled these to fix a ZenCart problem, thort it might be worth asking the question as I no longer get the Blank Page in Prestashop on my localhost since making these changes to Apache. Link to comment Share on other sites More sharing options...
remoteONE Posted August 7, 2009 Share Posted August 7, 2009 OOps,IPS still not woring, just that Blank page is now at the last Checkout page.PHP errors:[07-Aug-2009 15:15:56] PHP Notice: Undefined variable: delivery_state in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\prestashop\modules\mailalerts\mailalerts.php on line 125[07-Aug-2009 15:15:56] PHP Notice: Trying to get property of non-object in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\prestashop\modules\mailalerts\mailalerts.php on line 125[07-Aug-2009 15:15:56] PHP Notice: Undefined variable: invoice_state in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\prestashop\modules\mailalerts\mailalerts.php on line 134[07-Aug-2009 15:15:56] PHP Notice: Trying to get property of non-object in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\prestashop\modules\mailalerts\mailalerts.php on line 134So something has changed but it still aint working. Link to comment Share on other sites More sharing options...
donjoao Posted August 7, 2009 Share Posted August 7, 2009 may be server problem Johnwww.donjoaoresortgoa.com Link to comment Share on other sites More sharing options...
VIXUS Posted August 7, 2009 Share Posted August 7, 2009 same problem here with 1.2.0.8 clean instal.last checkout step (BW or COD) gives me blank page.anyone? Link to comment Share on other sites More sharing options...
stargazer Posted October 14, 2009 Share Posted October 14, 2009 Hi,I had a very similar problem with user registration where a user could register and order right away but when I came back to login to my test user account, the administration.php page was completely blank. I solved this problem in the following way. 1. I added a blank .htaccess file to the root store directory and then2. In admin panel, I went to Tools ==> Generators and generated the .htaccess file in the first menu option. Now your old accounts may not work but new accounts registered after this all work fine for me. I can go thru the process of ordering right until I am redirected to Paypal to submit payment for the items. Good LuckAdamwww.adamjrodriguez.com Link to comment Share on other sites More sharing options...
Brenda Posted January 9, 2010 Share Posted January 9, 2010 Just to let you know, I had the same issue after I installed the Block USPS API v0.3.2 with the blank checkout screen.I changed the theme on my site and it straightened up.Then I just copied the "order-carrier.tpl" from the original install of PrestaShop and pasted it in my theme. I am kinda new at this whole thing so I can't tell you why the files were so different but it did work. Link to comment Share on other sites More sharing options...
Cyprus Posted March 24, 2010 Share Posted March 24, 2010 I sometimes get blank page after pressing 'confirm order' using cash on delivery. Not always but often ! I have set all correct folder permissions. the following error appears:[24-Mar-2010 04:50:17] PHP Fatal error: Call to undefined method Tools::gethttphost() in /home/eprosfor/public_html/philippospsyllos/modules/cashondelivery/validation.php on line 24line 24 in validation.php contains:'this_path_ssl' => (Configuration::get('PS_SSL_ENABLED') ? 'https://' : 'http://').htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').__PS_BASE_URI__.'modules/cashondelivery/\I have NOT installed ssl certificate on my site. I have NOT enabled ssl in back officecan u please help me ! its urgent !!!! Link to comment Share on other sites More sharing options...
decogsm Posted November 24, 2010 Share Posted November 24, 2010 NO errors and blank white page 100% solution !!!Problem it 's from blockrss modul .... remove or put another version . Link to comment Share on other sites More sharing options...
NOJoke Posted August 20, 2011 Share Posted August 20, 2011 I just had this problem happen and never had the issue before. All of my files and sub directories for the whole site are chmod to 777, the only thing i did with the files were move some of the blocks around to display where I wanted them. I can go onto the main page just fine but when I try to click the links it goes to a white page that says CART : then in white text it says product products fatal error I think i figured out the issue...godaddy is performing matinence on there stuff so i cant login to my account.. that might have to do with the website not working correctly Link to comment Share on other sites More sharing options...
Recommended Posts