GrimmSpeed Posted May 3, 2007 Share Posted May 3, 2007 please help, this is a new setup and i have yet to start it up. most of my products are in and what not and now i'm trying to get paypal set up. everytime i try to install and then edit the paypal thing, when i hit update it looks like its updating but then when i look at the info it wipes out everything i just put in. i also tried installing the terra 2.2 contrib and that is doing the same thing. any help would be greatly appreciated. Justin Link to comment Share on other sites More sharing options...
bkellum Posted May 3, 2007 Share Posted May 3, 2007 please help,this is a new setup and i have yet to start it up. most of my products are in and what not and now i'm trying to get paypal set up. everytime i try to install and then edit the paypal thing, when i hit update it looks like its updating but then when i look at the info it wipes out everything i just put in. i also tried installing the terra 2.2 contrib and that is doing the same thing. any help would be greatly appreciated. Justin Justin,If this is a new installation of osC 060817, then you are experiencing the widely known "refresh bug" of the modules section which includes shipping, payment, etc. There is a simple fix: 1. Open the catalog/admin/includes/functions/compatibility.php. 2. At the end of the “do_magic_quotes_gpc” routine, add the following code reset($ar); It will end up looking like this: function do_magic_quotes_gpc(&$ar) { if (!is_array($ar)) return false; while (list($key, $value) = each($ar)) { if (is_array($ar[$key])) { do_magic_quotes_gpc($ar[$key]); } else { $ar[$key] = addslashes($value); } } reset($ar); } 3. Do the same for the compatibility.php file located in catalog/includes/functions/compatibility.php. Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
scottyob1 Posted May 3, 2007 Share Posted May 3, 2007 I tried to update my shop with the paypal express module and it screwed it totally! I get the following error Warning: main(templates/Pixame_v1/TEMPLATENAME_MAIN_PAGE) [function.main]: failed to open stream: No such file or directory in /homepages/14/d117426647/htdocs/catalog/index.php on line 155 Fatal error: main() [function.require]: Failed opening required 'templates/Pixame_v1/TEMPLATENAME_MAIN_PAGE' (include_path='.:/usr/local/lib/php') in /homepages/14/d117426647/htdocs/catalog/index.php on line 155 Any ideas?? Thanks Link to comment Share on other sites More sharing options...
GrimmSpeed Posted May 4, 2007 Author Share Posted May 4, 2007 thanks bkellum! that fixed it Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.