angusjulian Posted April 24, 2012 Share Posted April 24, 2012 (edited) I re downloaded PS 1.4.7.0, then I re uploaded header.php. It seems that header.php got corrupted during migration to live server. I was able to solve the issue without resulting to re installing PS. Hello, I have installed PS 1.4.7.0 in my local server, after redesigning much of everything I choose bankwire and COD as my payment gateway. Everything is working perfectly well, during checkout both bankwire and COD works. After I have migrated PS and its database on a live server, everything work fine only except at checkout, because bankwire and COD does not work at all. For bankwire: payment.php does not render anything except for SERVER ERROR The website encountered an error while retrieving http://www.xxxxxx.co...ire/payment.php. It may be down for maintenance or configured incorrectly. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request. For COD: validation.php does not render anything except for SERVER ERROR The website encountered an error while retrieving http://www.xxxxxx.co.../validation.php. It may be down for maintenance or configured incorrectly. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request. Please note that, I have regenerated my .htaccess, modules folder is chmo to 0755, all folders inside modules folder are chmod to 0755 and all files inside folders bankwire and COD are chmod to 0644. Help and good suggestions would be very appreciated. Thanks Edited August 23, 2012 by angusjulian (see edit history) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 24, 2012 Share Posted April 24, 2012 Hi angusjulian, Can you please try resetting both of those modules and then reconfiguring them with the proper settings, and let me know if the issue persists? -Mike Link to comment Share on other sites More sharing options...
angusjulian Posted April 25, 2012 Author Share Posted April 25, 2012 Hi Mike, thanks for your reply, I have actually tried to reset them twice, and on the third I even did re-downloaded the same PS version and re-upload bankwire and COD mod, reconfigured them but the same problem persists. Any ideas?, I also tried to change the address path of, bankwire.php, header.php, congif.inc.php and footer.php all located inside payment.php which is the file that renders the problem in bakwire module, but nothing happens. Thanks again for your time, Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 25, 2012 Share Posted April 25, 2012 Hi angusjulian, Who is your hosting provider? The fact that it worked fine on local but gave you an internal server error after going live indicates that this is likely a hosting issue. -Mike Link to comment Share on other sites More sharing options...
angusjulian Posted April 25, 2012 Author Share Posted April 25, 2012 (edited) Thanks Mike, I'm using a linux cloud server, hostng problem is also one of my best hunch but I could not perfectly point out the exact issue to them. It's really a hair pulling issue. I tried to install and use ccpayment module (a credit card payment module) just now to give clients a way to checkout to keep the store running. The problem is it renders the same problem as bank wire, it throws server error in payment.php lots of thanks, angusjulian Edited August 23, 2012 by angusjulian (see edit history) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 25, 2012 Share Posted April 25, 2012 Can you please open your config.inc.php file and set "display_errors" to "on" and then reload the page and let me know if you get any error messages? -Mike Link to comment Share on other sites More sharing options...
angusjulian Posted April 26, 2012 Author Share Posted April 26, 2012 Hi Mike, I did what you asked, change display_errors to "on" and it's throwing this error Parse error: syntax error, unexpected T_VARIABLE in /home/blooms/public_html/header.php on line 1 Thanks angusjulian Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 26, 2012 Share Posted April 26, 2012 Hi angusjulian, Can you please attach your site's header.php file so that we can take a look at this for you? -Mike Link to comment Share on other sites More sharing options...
angusjulian Posted April 26, 2012 Author Share Posted April 26, 2012 here you go mike, <?php/** 2007-2011 PrestaShop ** NOTICE OF LICENSE** This source file is subject to the Open Software License (OSL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/osl-3.0.php*'>http://opensource.org/licenses/osl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to [email protected] so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA <[email protected]>* @copyright 2007-2011 PrestaShop SA* @version Release: $Revision: 6594 $* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)* International Registered Trademark & Property of PrestaShop SA*/$controller = new FrontController(); $controller->displayHeader(); thanks Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 26, 2012 Share Posted April 26, 2012 Hi angusjulian, I meant the header.php file itself. You can do this by clicking on "More Reply Options" and using our Attachment function. -Mike Link to comment Share on other sites More sharing options...
angusjulian Posted April 26, 2012 Author Share Posted April 26, 2012 oohh sorry, here it is header.php Link to comment Share on other sites More sharing options...
angusjulian Posted May 1, 2012 Author Share Posted May 1, 2012 Hi Mike, Any ideas what could have possibly caused the problem? Thanks very much angusjulian Link to comment Share on other sites More sharing options...
Recommended Posts