Jump to content

leentora

Members
  • Content count

    3
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Lee
  1. Hi guys - I hope someone can help me. I installed MGZM, and everything seemed to work fine i set the shipping charge to be by weight When i go to checkout in the delivery confirmation, the shipping amount is correct but when i go to the confirmation with the totals, the shipping is doubled. No matter how little or how much items there are, the delivery page will be correct but the shipping total doubled. Can someone help :(
  2. ^---> Issue Resolved. Here's what i did. I changed my shop/includes/modules/payment/paypal_standard-backup.php to a txt file. Snce that fixed the 3rd error, i wanted to see if that was the problem for the first two errors as well and deleted the straight copy i did: shop/includes/languages/english/modules/payment/paypal_standard-backup.php and that worked. Why did i change the "real" backup to a txt file? I googled -> PHP Help Cannot redeclare class, and read up on what that error meant. Basically the file paypal_standard.php was trying to declare a class that was already being declared (quite obvious when i look at it now <_<) Anyway, the only file that could be declaring the exact same class would be the backup file since it was the original. I checked, saw the class being declared and realized i needed to get rid of the coding. But since i didn't want to delete anything (since i don't know jack about coding), and its the original file just in case anything goes wrong, i thought i'd just turn it into a text file. By doing that, i keep the original file, with the original coding but i also remove it from being recognized as php coding. Hopefully that helps someone else who is a dense as we are... if there is such a person :-"
  3. Hi everybody - i'm new here - helping someone build a website and we've run into a little snag we installed this contribution and haven't even got to test it yet and we have errors. When we logged into shop admin and went to the payment modules we received these lovely greetings... Warning: include(/home/*******/public_html/shop/includes/languages/english/modules/payment/paypal_standard-backup.php) [function.include]: failed to open stream: No such file or directory in /home/*******/public_html/shop/admin/modules.php on line 166 Warning: include() [function.include]: Failed opening '/home/*******/public_html/shop/includes/languages/english/modules/payment/paypal_standard-backup.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*******/public_html/shop/admin/modules.php on line 166 Fatal error: Cannot redeclare class paypal_standard in /home/*******/public_html/shop/includes/modules/payment/paypal_standard.php on line 13 Since the first two errors dealt with the same file and line we went there first and found the line in question... include(DIR_FS_CATALOG_LANGUAGES . $language . '/modules/' . $module_type . '/' . $file); Unfortunately, we don't know jack about coding so this was pretty much heiroglyphics to us. But, since the error was there wasnt a paypal_standard-backup.php file, we created one FYI - To back up our edited files, all we did was copy the original and rename it original-backup.php FYI #2 - we use paypal web standard as our only payment method. We weren't really sure why this code would be looking for the backup instead of the "active" file, and since paypal_standard.php wasn't amended in the first place, all we did was make an exact duplicate and rename it ***-backup.php, and it got rid of the first two errors, go fig The third error however, we don't have a clue as to how to get rid of. Here is the code again... Fatal error: Cannot redeclare class paypal_standard in /home/*******/public_html/shop/includes/modules/payment/paypal_standard.php on line 13 and here is line 13/14 of the paypal_standard.php ln13: class paypal_standard { ln14: var $code, $title, $description, $enabled; Can someone help? Thanks in advance
×