Jump to content

stylepop

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Activity
    Developer

stylepop's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Updated to v2.0.7 and this issue seemed to start, now I have to disable the module for pagination to work, Tried to uninstall/reinstall, clear cache, change number of displayed products, etc but nothing works. It seems the github fix is for an older version because the .js file looks a lot different than what's posted. Why is this happening?!!
  2. .htaccess file ------------| # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_MOD_REWRITE On </IfModule> RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule . - [E=HTTP_AUTHORIZATION:%1] RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # AlphaImageLoader for IE and fancybox RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] </IfModule> AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/x-font-woff .woff <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year" ExpiresByType image/svg+xml "access plus 1 year" ExpiresByType image/vnd.microsoft.icon "access plus 1 year" ExpiresByType application/font-woff "access plus 1 year" ExpiresByType application/x-font-woff "access plus 1 year" ExpiresByType application/vnd.ms-fontobject "access plus 1 year" ExpiresByType font/opentype "access plus 1 year" ExpiresByType font/ttf "access plus 1 year" ExpiresByType font/otf "access plus 1 year" ExpiresByType application/x-font-ttf "access plus 1 year" ExpiresByType application/x-font-otf "access plus 1 year" </IfModule> FileETag INode MTime Size <IfModule mod_deflate.c> <IfModule mod_filter.c> AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript </IfModule> </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
  3. Tried the tuturorial for the WebService API and whilst the XML is accessable via the browser, I am unable to get a basic script to work. I see a lot of people are having this issue and I scoured the forums and webs for solutions, but none of them seemed to work. I may be wrong, but I believe the issue could be with HostGator using FastCGI instead of mod_php. Here's the error I'm getting: "Other error: This call to PrestaShop Web Services failed and returned an HTTP status of 404. That means: Not Found." I attempted the solution here: http://forge.prestashop.com/browse/PSCFV-7266 I added the line to my .htaccess file and also addedthe code to the dispatcher.php script but this did not seem to do anything, the error is the same. I've tried regenerating the .htaccess file numerous times, turning on/off webservices, 'Enable CGI mode for PHP' is turned ON, mod_rewrite ON, nothing seems to change the behavior. HostGator VPS CGI/FastCGI PS v1.6.0.9
  4. The module was picked up from the PrestaShop Addon's webpage here. Whilst it says it is only compatible for versions 1.3.0.0 to 1.4.8.2, it seems to be accepting payment for version 1.6.0.9 but not adding orders to the back-end. It appears to be some issue with it not being able to get an order number. What's the best way to go about figuring out how to make this compatible?
  5. Hello, Picked up the Paymate payment module and whilst it appears to work fine checking out, we've been noticing that orders are not showing up on the back-end. Customers appear to have accounts, and the purchased products and carts show up on the customer page but not orders. The customers have noted receiving an email receipt but it does not include an order number. We believe the problem lies in the validation.php file and is using an invalid function or something, can anyone have a look at the following and see if they can recognize what might be the issue? Thanks so much! <?php include(dirname(__FILE__). '/../../config/config.inc.php'); include(dirname(__FILE__).'/paymate.php'); $link = new Link(); /* Does the cart exist and is valid? */ $cart = new Cart(Tools::getvalue('ref')); if (!Validate::isLoadedObject($cart)) exit; $customer = new Customer($cart->id_customer); /* Loading the object */ $paymate = new paymate(); $feedback = $paymate->l('Transaction IDsq:').Tools::getvalue('transactionID'); if (Tools::getvalue('responseCode') == "PA") $paymate->validateOrder(intval($cart->id), _PS_OS_PAYMENT_, Tools::getvalue('paymentAmount'), $paymate->displayName, $feedback, NULL); else $paymate->validateOrder(intval($cart->id), _PS_OS_ERROR_, Tools::getvalue('paymentAmount'), $paymate->displayName, $feedback, NULL); Tools::redirect('order-confirmation.php?id_module='.$paymate->id.'&id_cart='.$cart->id.'&key='.$customer->secure_key); ?>
  6. Hi bissio, My Paypal module is version 3.7.2 with Presta 1.6.0.9 and when I try to click "update" to get the 3.8 version like you say you have, it does not show it as having any updates available. I however updated the paypal.php to include the hookProductActions() function, then transplanted the module into displayProductButtons() and removed from productFooterHook(). I moved the line {if isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS}{$HOOK_PRODUCT_ACTIONS}{/if} from it's original location to just over the </form> tag and cleared the cache but it didn't work. I took a look at the source and firefox showed it in red with a message saying that it does not support nested <form> tags. I then moved the line so it was underneath the </form> tag and while I do not get the error anymore, I still cannot click on the link! Any more suggestions? Could you take a quick look at stylepop.com.au ? Thanks so much for your assistance!
  7. Can any one help with Paymate installation
  8. Can you elaborate a bit more on what you did here? I have 1.6.0.9 and have the same issue not being able to get a response when the button is clicked. I found $HOOK_PRODUCT_ACTIONS in product.tpl in two places: The first was this line, which was just above the <form id="buy_block"> line: {if ($product->show_price && !isset($restricted_country_mode)) || isset($groups) || $product->reference || (isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS)} I moved it so that it was contained inside of the form but nothing changed, it still cannot be clicked on. The second was this line, which appears inside the form just before the closing </form> tag: {if isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS}{$HOOK_PRODUCT_ACTIONS}{/if} I haven't tried removing the PayPal Express module from the footer hook yet though, is that also part of the problem?
×
×
  • Create New...