Search the Community
Showing results for tags 'CGI'.
-
Hi There's a switch in `Advanced Parameters > WebService`: Enable CGI mode for PHP Before choosing "Yes", check that PHP is not configured as an Apache module on your server. Is there a method to check this via code? Like can it not be a silly value in the root .htaccess and test is a 500 error is returned... or whatever...? The operator at my web host, first said no then yes ... How can I know for sure?
-
dear PrestaShopper's, i am writing this post because i'm looking for about 5 hours for a solution to my problem. The problem: The following problem appears on our shop (Version 1.6.09 - up to date, running since approx. 4 weeks now) and i absolutely have no idea to fix this: Always when i call our shop frontend or backend (makes no difference) i get an Internal Server Error 500. This error disappears after page reload or deleting cache in browser (there is no difference in different browsers - exact same situation). After disappearing i can browse on page normally. When idling, after some time the error reappars when clicking a link on our frontend or backend oder refreshing current page. The time interval i could not detect until yet (i think it is around 5 minutes). There is shown a blank error message: When did i first recognize something is going wrong: I did not change anything in shop configuration. The error just appeared the first time while i was editing a product's details and adding some images. Now the error is like a bad ghost How i tried to resolve: It's not the error message which should be displayed by PrestaShop itself - it's the blank one generated by server (Apache or something). The following this i did: enabled the flag define('_PS_MODE_DEV_', true in config/defines.inc.php deleted the .htaccess and generated a new one's default file by prestashop which should be an exact and correct working file. checked .htaccess permission to are set as 640. I already tried 777 and 755. enabled and disabled userfriendly URL rewrite in SEO/URL configuration deactivated CDN-Servers deactivated cachefs of prestashop let the user cache data with browser instead (when using cachefs the Server Error did not went ago by refreshing the page - i logically had to delete the cachefs folder via FTP in prestashop directory) disabled/enabled CCC changed the PHP Version on our host from 5.3 to 5.5 and to 5.6 with and without PHP Boost. No changes each version.. changed php.ini parameters to different things. There was no difference when changing any line belonging to error handling/displaying. My files actually looks like: #php.ini ############ memory_limit=128M max_input_vars=6000; display_errors=1; display_startup_errors=1; log_errors=1; log_errors_max_len=1024; ignore_repeated_errors=0; ignore_repeated_source=0; report_memleaks=1; track_errors=1; html_errors=1; xmlrpc_errors=1; Deleting the php.ini does nothing change. As you know this file is not needed at all by PrestaShop I tried many different combinations without any visible success. This error is horrible. The error log of our hosting server gives different entries. The line which continueously appears is: 02.10.2014 16:22:44 stoutwind.de [client 77.64.52.0] FastCGI: "/home/strato/http/fastcgi/rid/08/99/53970899/htdocs/prestashop/admin1668/index.php" aborted: incomplete headers (0 bytes) received from server after 6 sec, referer: there are also two other messages which repeat sometimes: 28.09.2014 21:10:16 stoutwind.de [client 77.64.52.0] Premature end of script headers: index.php 02.10.2014 14:14:06 stoutwind.de [client 77.64.52.0] Request exceeded the limit of 4 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get abacktrace. Googling for those error messages gave me no results matching the discribed issue that the problem disappears by refreshing the page. Could it be have something to do with SSL connection? I really think there is no problem with .htaccess or php.ini. I guess it has to do with PHP in general, a PrestaShop plugin/update, a configuration setting or SSL. If anyone has an idea please tell me. I don't know how to look up for this special case. You are my last hope Best wishes, Mario Voigt
- 6 replies
-
- Internal Server Error 500
- Cache
- (and 7 more)
-
I am integrating a new payment method in my shop, which should send some parameters via POST to a CGI file. I have almost everything working, except the part where I send post parameters via the CGI file. One of these parameters is the number of the order. The problem is that I understand that the order number is created when you press the button "Confirm my order" in the function postprocess () the file validation.php Someone could give me an idea of how to do? Any hook or function where you need to make the shipment of these parameters via POST. In summary: By clicking the button "Place my order" in the shopping cart, the purchase sends some parameters (such as the order number (to an external file in the CGI pasarelade payment. After the whole process is done on that platform, receives a response that redirects to the confirmation page Prestashop (index.php?controller=order-confirmation, etc ....) Any ideas or suggestions of how to send this data via POST to CGI file when clicking "Put my order"? Thanks!
-
Hey, I installed URL Rewrite and ISAPI rewrite manager. I linked my .htacess to my webiste on ISAPI rewrite but the friendly URL is not working anymore. I used phpinfo() and mod_rewrite is not enabled, neither loaded. How should i do for setting the mod_rewrite correctly ? Thank in advance. Version prestashop : 1.5.
- 3 replies
-
- friendly url
- IIS7
-
(and 3 more)
Tagged with: