X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   News and Announcements (https://forum.x-cart.com/forumdisplay.php?f=28)
-   -   X-Cart 4.7.6 released: Improved Performance, Bugfixes (https://forum.x-cart.com/showthread.php?t=74080)

aim 10-01-2016 03:30 AM

Re: X-Cart 4.7.6 released: Improved Performance, Bugfixes
 
Quote:

Originally Posted by josebueso
Hello Every one.

I'm looking for some help to find the source of this error:On my xcart4.7.6 Logs. I just upgraded to this version Xcart476.

PHP errors
[01-Oct-2016 09:53:59 UTC] PHP Fatal error: Call to undefined function func_get_default_fields() in /home/uncionmu/public_html/include/search_users.php on line 80

I have some problem searching for user in the backend, and it happen only when I am looking for as specific user name.

Thanks in advance

Saul


https://bt.x-cart.com/view.php?id=46443

herber@wirehub.nl 10-01-2016 07:35 AM

Re: X-Cart 4.7.6 released: Improved Performance, Bugfixes
 
Quote:

Originally Posted by aim

Should I also apply this to my 4.7.6 stores?

josebueso 10-01-2016 10:51 AM

Re: X-Cart 4.7.6 released: Improved Performance, Bugfixes
 
Quote:

Originally Posted by aim


Thanks Ildar

That patch worked.

aim 10-02-2016 08:52 PM

Re: X-Cart 4.7.6 released: Improved Performance, Bugfixes
 
Quote:

Originally Posted by herber@wirehub.nl
Should I also apply this to my 4.7.6 stores?


Yes, apply it please

Dougrun 10-04-2016 08:54 AM

Re: X-Cart 4.7.6 released: Improved Performance, Bugfixes
 
Hi, I have this function showing on my address book page and I can't find the file to fix it.. I've replaced address_book.tpl and address_book.php with original 4.7.6 files and still it shows.. any ideas??


Seems to be a AC checkout one bug.. which I doubt will get fixed.. but the line...
Code:

{if $active_modules.Checkout_One} onclick="checkoutChangeAddress({$address.id|default:0}, '{$type}');"{/if}

in address_box.tpl causes it.

aim 10-04-2016 09:36 PM

Re: X-Cart 4.7.6 released: Improved Performance, Bugfixes
 
Code:

<ul class="address-container">
  onclick="checkoutChangeAddress(0, '');"<li id="address_box_0" class="address-box address-current" onclick="javascript: $('#address_0').submit();">
  <div class="address-bg">
    <div class="address-main">


this code must be within a html tag
onclick="checkoutChangeAddress(0, '');"

To localize the problem template you can use webmaster mode
http://help.x-cart.com/index.php?title=X-Cart:Customizing_Text_Labels#tree_of_used_template s

Or grep/search function
Code:

aim-server[~/www/xcart_4_7_x]$ grep -rl checkoutChangeAddress skin


Thank you.

PhilJ 10-05-2016 06:43 AM

Re: X-Cart 4.7.6 released: Improved Performance, Bugfixes
 
Is anyone out there using PHP 7.0 with v4.7.6?
I'm getting some strange errors when adding to cart...
Quote:

[05-Oct-2016 13:01:00] Warning: Illegal string offset 'httpsmod' in /home/site/public_html/include/func/func.tests.php on line 440

[05-Oct-2016 13:01:05] Warning: Invalid argument supplied for foreach() in /home/site/public_html/include/func/func.tests.php on line 390

[05-Oct-2016 13:01:12] Warning: Illegal string offset 'max_cartid' in /home/site/public_html/include/func/func.cart.php on line 3341

[05-Oct-2016 13:01:12] Warning: Illegal string offset 'max_cartid' in /home/site/public_html/include/func/func.cart.php on line 3343

[05-Oct-2016 13:01:12 UTC] PHP Fatal error: Uncaught Error: Cannot increment/decrement string offsets in /home/site/public_html/include/func/func.cart.php:3343
Stack trace:
#0 /home/site/public_html/include/func/func.cart.php(3914): func_generate_cartid()
#1 /home/site/public_html/cart.php(269): func_add_to_cart('0', Array)
#2 {main}
thrown in /home/site/public_html/include/func/func.cart.php on line 3343
This occurs on a fresh install. If anyone has any ideas, please let me know :)

chamberinternet 10-05-2016 06:54 AM

Re: X-Cart 4.7.6 released: Improved Performance, Bugfixes
 
I was under the impression from Friday that XC 4.7.6 is compatible with PHP 7.

aim 10-05-2016 07:24 AM

Re: X-Cart 4.7.6 released: Improved Performance, Bugfixes
 
Quote:

Originally Posted by PhilJ
Is anyone out there using PHP 7.0 with v4.7.6?
I'm getting some strange errors when adding to cart...

This occurs on a fresh install. If anyone has any ideas, please let me know :)


I have reproduced it in a sandbox

http://ideone.com/NTmq3l
https://3v4l.org/hfjSX

It seems a string is assigned to the global $cart variable

Could you please provide us with step-by-step instructions how to replicate the issue?

Thank you.

PhilJ 10-05-2016 08:01 AM

Re: X-Cart 4.7.6 released: Improved Performance, Bugfixes
 
Quote:

I was under the impression from Friday that XC 4.7.6 is compatible with PHP 7.
Oh, I wasn't aware of that, is it still happening? Nothing mentioned in the roadmap.
Quote:

Could you please provide us with step-by-step instructions how to replicate the issue?
All I did was upgraded to PHP v7 (7.1.0RC2 in fact) and tried a fresh v4.7.6 install. Everything else seems to be working ok, just add to cart is not.


All times are GMT -8. The time now is 01:34 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.