This payment cannot be completed and your account

  • Posts: 135
  • Thank you received: 5
11 years 2 months ago #124998

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : Your version is 2.1.1, the latest stable version is 2.2.1 [Business]
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.3.26
-- Browser(s) name and version -- : Firefox 23.0.1
-- Error-message(debug-mod must be tuned on) -- : Error_message

/* hikashop error */

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/dnjtoys/public_html/components/com_hikashop/views/product/tmpl/cart.php on line 334

But? After I use CTRL-F5 It goes back to cart..then to Paypal to pay

This payment cannot be completed and your account has not been charged. Please contact your merchant for more information.

This is what Paypal says..[above]

Here is Joomla Error log:

[24-Sep-2013 04:54:35 Europe/Moscow] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/dnjtoys/public_html/components/com_hikashop/views/product/view.html.php on line 1055
[24-Sep-2013 21:25:18 Europe/Moscow] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 80 bytes) in /home/dnjtoys/public_html/administrator/components/com_hikashop/classes/field.php on line 373
[24-Sep-2013 21:26:12 Europe/Moscow] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/dnjtoys/public_html/components/com_hikashop/views/product/view.html.php on line 1055
[24-Sep-2013 21:27:28 Europe/Moscow] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/dnjtoys/public_html/components/com_hikashop/views/product/tmpl/cart.php on line 334
[24-Sep-2013 21:42:47 Europe/Moscow] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/dnjtoys/public_html/components/com_hikashop/views/product/view.html.php on line 1055
[24-Sep-2013 21:44:20 Europe/Moscow] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/dnjtoys/public_html/components/com_hikashop/views/product/view.html.php on line 1055
[25-Sep-2013 00:32:22 Europe/Moscow] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/dnjtoys/public_html/components/com_hikashop/views/product/tmpl/cart.php on line 334
[25-Sep-2013 00:37:05 Europe/Moscow] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/dnjtoys/public_html/components/com_hikashop/views/product/tmpl/cart.php on line 334
[25-Sep-2013 00:39:58 Europe/Moscow] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 72 bytes) in /home/dnjtoys/public_html/administrator/components/com_hikashop/classes/field.php on line 371
[25-Sep-2013 00:51:58 Europe/Moscow] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/dnjtoys/public_html/components/com_hikashop/views/product/view.html.php on line 1055
[25-Sep-2013 02:15:28 Europe/Moscow] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/dnjtoys/public_html/components/com_hikashop/views/product/view.html.php on line 1055
[25-Sep-2013 05:24:11 Europe/Moscow] PHP Warning: imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: gd-jpeg: JPEG library reports unrecoverable error: in /home/dnjtoys/public_html/administrator/components/com_hikashop/helpers/image.php on line 735
[25-Sep-2013 05:24:11 Europe/Moscow] PHP Warning: imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: '/home/dnjtoys/public_html/media/com_hikashop/upload/tender_beaver.jpg' is not a valid JPEG file in /home/dnjtoys/public_html/administrator/components/com_hikashop/helpers/image.php on line 735
[25-Sep-2013 06:18:10 Europe/Moscow] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/dnjtoys/public_html/components/com_hikashop/views/product/tmpl/cart.php on line 334

Last edit: 11 years 2 months ago by IamJim.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #125020

Hi,

Thanks to try to increase the max memory size:
www.tech-recipes.com/rx/777/solve-php-fa...tes-exhausted-tried/

Please Log in or Create an account to join the conversation.

  • Posts: 135
  • Thank you received: 5
11 years 2 months ago #125113

I already have set for months = memory_limit 32M 32M

That does not seem to do it.

dnjtoys.com/dnjtoys-menu-for-categories-...roduct/248-test-sale

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /home/dnjtoys/public_html/components/com_hikashop/views/product/tmpl/cart.php on line 334

If ?? I then use CTRL-F5 ? it processes

Article also says: Keep in mind that a huge memory limit is a poor substitute for good coding. A poorly written script may inefficiently squander memory which can cause severe problems for frequently executed scripts.

What else can we do to solve this? As it also has happened on other sites and few times in the past also.. I don't report it? Because I just use other carts for people. 2 weeks ago I set up a test site and cart, and she saw that? I had to refund money.

Jim

Last edit: 11 years 2 months ago by IamJim.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 2 months ago #125135

Hi,

Sometimes, using memory is an obligation.
When we have to manage a lot of data, like a lot of products, with prices and categories, payment methods, restrictions, zones, discounts, addresses, etc.. We can't make any process if the data is not in the memory.
32 MB could be good some times but is a little bit low for a complex e-commerce system.

I won't ask you to put 128MB or 256MB, but growing up the memory limit to 48MB or 64MB could be good.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 135
  • Thank you received: 5
11 years 2 months ago #125240

Greetings Jerome, per = www.madgenius.com/portal/knowledgebase/3...ccess-or-phpini.html and just trying to modify only the standard Joomla .htaccess file with

php_value memory_limit 32M

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

## Mod_rewrite in use.

RewriteEngine On

php_value memory_limit 32M

## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts` to Joomla!

I get =
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, This email address is being protected from spambots. You need JavaScript enabled to view it. and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


I then created phi.ini and placed as needed in both public_html and also /administrator and Joomla (of course) reported the 48M as I used. Checkout process was fine (so I thank you)

But I still have once trying to pay with Paypal =

This payment cannot be completed and your account has not been charged. Please contact your merchant for more information.


HikaShop Paypal payment plugin is Enabled
URL = www.paypal.com/cgi-bin/webscr
Email is my clients account

Allow payment notifications from PayPal Yes
Send details of the order Yes
Enable validation mode No
Debug Yes
Cancel url
Return url
Paypal header url
IPs
Refresh IPs
Invalid status cancelled
Pending status created
Verified status confirmed
Return method Yes[/i]

I had my customer check is paypal account the other day for settings and as I thought there used to be a "take all payments" or something?

Have you run across this error before please?

Thanks again!!

Jim

Last edit: 11 years 1 month ago by IamJim.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 2 months ago #125282

Hi,

For your paypal problem, please check your logs in your paypal account.
You will have more details about the transaction and why it hasn't be completed.
It looks like the problem is link to the account more than the plugin. Specially if you have to message in paypal itself.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 135
  • Thank you received: 5
11 years 1 month ago #125390

Thank you Jerome !! Seems all ok now...for others information? Please !! If this a cart for someone else..MAKE SURE they check that the email they use is also used in Profile > Email for Paypal.

How do I close this thread please?

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 1 month ago #125398

You can edit your first message and add the tag [solved] in the subject.

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum