Zabih Posted January 13, 2014 Share Posted January 13, 2014 When I finish my order and the last part, the payment part comes, I choose paypal. But when I press it, I get blanck White screen. Please help Link to comment Share on other sites More sharing options...
walidon Posted January 13, 2014 Share Posted January 13, 2014 please turn on error reporting, So instead of simple white page you will see full error code. open config/defines.inc.php find this line define('_PS_MODE_DEV_', false); change to look like this define('_PS_MODE_DEV_', true); 1 Link to comment Share on other sites More sharing options...
Zabih Posted January 13, 2014 Author Share Posted January 13, 2014 please turn on error reporting, So instead of simple white page you will see full error code. open config/defines.inc.php find this line define('_PS_MODE_DEV_', false); change to look like this define('_PS_MODE_DEV_', true); firstly how do I turn on error report My I mind you that I am runing the website, so I believe that my costumers also gets this problem. Link to comment Share on other sites More sharing options...
walidon Posted January 13, 2014 Share Posted January 13, 2014 my previous messages tells how, in your installation root go to the folder config, then look for the file defines.inc.php in that file find this line define('_PS_MODE_DEV_', false); change to look like this define('_PS_MODE_DEV_', true); 1 Link to comment Share on other sites More sharing options...
Zabih Posted January 13, 2014 Author Share Posted January 13, 2014 my previous messages tells how, in your installation root go to the folder config, then look for the file defines.inc.php in that file find this line define('_PS_MODE_DEV_', false); change to look like this define('_PS_MODE_DEV_', true); Where do I find my Installation root Link to comment Share on other sites More sharing options...
walidon Posted January 13, 2014 Share Posted January 13, 2014 your installation root is the location in your server where you installed prestashop (your shop) 1 Link to comment Share on other sites More sharing options...
Zabih Posted January 14, 2014 Author Share Posted January 14, 2014 your installation root is the location in your server where you installed prestashop (your shop) sorry but I know absolutily zero about this. I need guidens from the begining to the end. I have tryed google, but it seems like an anknowen subjekt. Link to comment Share on other sites More sharing options...
walidon Posted January 14, 2014 Share Posted January 14, 2014 Where did you installed your shop (where did you installed prestashop in your server to get your shop) ? 1 Link to comment Share on other sites More sharing options...
Zabih Posted January 14, 2014 Author Share Posted January 14, 2014 Where did you installed your shop (where did you installed prestashop in your server to get your shop) ? I have found defines.inc.php. downloaded it. but it seems like i need some program to open it with. Link to comment Share on other sites More sharing options...
walidon Posted January 14, 2014 Share Posted January 14, 2014 you can use the default Notepad in Windows or download the Notepad++ (it is a must have since you work with websites) to open the file , right click then open with, choose the Notepad, if it is not then choose more programs from the list... 1 Link to comment Share on other sites More sharing options...
Zabih Posted January 14, 2014 Author Share Posted January 14, 2014 you can use the default Notepad in Windows or download the Notepad++ (it is a must have since you work with websites) to open the file , right click then open with, choose the Notepad, if it is not then choose more programs from the list... I have done so. I have turned it to true and oploadet the file to server and I deleted the original file defines.inc.php and now i get this on my page : Warning: require_once(/data/home/cphcykle/public_html/config/defines.inc.php): failed to open stream: No such file or directory in /data/home/cphcykle/public_html/config/config.inc.php on line 27 Fatal error: require_once(): Failed opening required '/data/home/cphcykle/public_html/config/defines.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in/data/home/cphcykle/public_html/config/config.inc.php on line 27 Link to comment Share on other sites More sharing options...
walidon Posted January 14, 2014 Share Posted January 14, 2014 did you change the extension of the file? it must remain .php! the error you get means that the file defines.inc.php isn't there! 1 Link to comment Share on other sites More sharing options...
Zabih Posted January 14, 2014 Author Share Posted January 14, 2014 I have found defines.inc.php. downloaded it. but it seems like i need some program to open it with. you can use the default Notepad in Windows or download the Notepad++ (it is a must have since you work with websites) to open the file , right click then open with, choose the Notepad, if it is not then choose more programs from the list... I have done it all. now when i try to check out my site gives me this: Warning: Cannot modify header information - headers already sent by (output started at /data/home/cphcykle/public_html/modules/paypal/express_checkout/payment.php:1) in/data/home/cphcykle/public_html/classes/Tools.php on line 130 Link to comment Share on other sites More sharing options...
Zabih Posted January 14, 2014 Author Share Posted January 14, 2014 I have done it all. now when i try to check out my site gives me this: Warning: Cannot modify header information - headers already sent by (output started at /data/home/cphcykle/public_html/modules/paypal/express_checkout/payment.php:1) in/data/home/cphcykle/public_html/classes/Tools.php on line 130 Link to comment Share on other sites More sharing options...
Zabih Posted January 14, 2014 Author Share Posted January 14, 2014 did you change the extension of the file? it must remain .php! the error you get means that the file defines.inc.php isn't there! I have done it all. now when i try to check out my site gives me this: Warning: Cannot modify header information - headers already sent by (output started at /data/home/cphcykle/public_html/modules/paypal/express_checkout/payment.php:1) in/data/home/cphcykle/public_html/classes/Tools.php on line 130 Link to comment Share on other sites More sharing options...
walidon Posted January 14, 2014 Share Posted January 14, 2014 ok, that is better now. I am looking into that.... 1 Link to comment Share on other sites More sharing options...
walidon Posted January 14, 2014 Share Posted January 14, 2014 can you upload the file payment.php here! you can find it following the link in the error message! 1 Link to comment Share on other sites More sharing options...
Zabih Posted January 14, 2014 Author Share Posted January 14, 2014 can you upload the file payment.php here! you can find it following the link in the error message! How do I follow it? Link to comment Share on other sites More sharing options...
walidon Posted January 14, 2014 Share Posted January 14, 2014 modules/paypal/express_checkout/payment.php 1 Link to comment Share on other sites More sharing options...
Zabih Posted January 14, 2014 Author Share Posted January 14, 2014 (edited) modules/paypal/express_checkout/payment.php Edited January 14, 2014 by Zabih (see edit history) Link to comment Share on other sites More sharing options...
walidon Posted January 14, 2014 Share Posted January 14, 2014 can you upload that file here in the forum? 1 Link to comment Share on other sites More sharing options...
Zabih Posted January 14, 2014 Author Share Posted January 14, 2014 can you upload that file here in the forum? I have just send the file to you. Link to comment Share on other sites More sharing options...
walidon Posted January 14, 2014 Share Posted January 14, 2014 where? Link to comment Share on other sites More sharing options...
Zabih Posted January 14, 2014 Author Share Posted January 14, 2014 where? can you give me a mail adress as I am not able to link the file here and I dont whant to write it in word because every will be able to see my php Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now