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)

cherie 06-29-2016 09:29 AM

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

Originally Posted by Dougrun
[29-Jun-2016 15:53:22 UTC] PHP Fatal error: require_once(): Failed opening required '/home/xxxx/public_html/store/modules/HTML_Editor/admin_func.php'

Did you check that the required file is present and has proper permissions?

Dougrun 06-29-2016 10:03 AM

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

Originally Posted by cherie
Did you check that the required file is present and has proper permissions?

yes, permissions are not the issue. The file exists.

aim 06-29-2016 10:18 PM

Re: X-Cart 4.7.6 released: Improved Performance, Bugfixes
 
1 Attachment(s)
Quote:

Originally Posted by Dougrun
yes, permissions are not the issue. The file exists.


Could you post the listing of your modules/HTML_Editor/ directory ?

like this Screenshot_2016-06-30_10-15-48.png

Thank You.

Dougrun 06-30-2016 07:33 AM

Re: X-Cart 4.7.6 released: Improved Performance, Bugfixes
 
drwxr-xr-x 2 4096 Jun 29 08:54 ./
drwxr-xr-x 90 4096 Jun 29 08:53 ../
-rw-r--r-- 1 8666 Jun 29 09:27 admin_func.php
-rw------- 1 3210 Jun 29 09:35 config.php

so is the config read permissions the culprit??

Dougrun 06-30-2016 10:27 AM

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

Originally Posted by aim
We have fixed it.

Thank you.


actually, you didnt fix it in the upgrade files for 4.7.4 to 4.7.5, the sql in there is still wrong.

If patch.sql fails, do the commands previous to the fail line commit? and the ones after it did not run?

aim 06-30-2016 10:01 PM

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

Originally Posted by Dougrun
drwxr-xr-x 2 4096 Jun 29 08:54 ./
drwxr-xr-x 90 4096 Jun 29 08:53 ../
-rw-r--r-- 1 8666 Jun 29 09:27 admin_func.php
-rw------- 1 3210 Jun 29 09:35 config.php

so is the config read permissions the culprit??


1)Could you check the permissions for files in the modules/Cloud_Search/ directory ?

2)It seems your modules/HTML_Editor/config.php differs from the default one
Code:

aim-server[~/public_html/xcart/4_7_6_gold]$ ls -l modules/HTML_Editor
total 16
-rw-r--r-- 1 aim aim 8666 Jun 14 16:54 admin_func.php
-rw-r--r-- 1 aim aim 3750 Jun 14 16:54 config.php





Quote:

Originally Posted by Dougrun
actually, you didnt fix it in the upgrade files for 4.7.4 to 4.7.5, the sql in there is still wrong.

If patch.sql fails, do the commands previous to the fail line commit? and the ones after it did not run?


I have fixed it in the 4.7.4-4.7.5.tgz upgrade pack too.

X-Cart upgrade script tries to run all queries after the failed one.

Thank you.

Dougrun 07-01-2016 08:09 AM

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

Originally Posted by aim
1)Could you check the permissions for files in the modules/Cloud_Search/ directory ?

Code:

# [~/public_html/store/modules/Cloud_Search]# ls -l
total 52
drwxrwxr-x  2  4096 Jan 11 11:09 ./
drwxr-xr-x 90  4096 Jun 29 08:53 ../
-rw-------  1  4131 Jun 29 09:34 cloud_search_api.php
-rw-------  1  3135 Jun 29 09:34 config.php
-rw-------  1  25652 Jun 29 09:34 func.php
-rw-------  1  2895 Jun 29 09:34 init.php


2)It seems your modules/HTML_Editor/config.php differs from the default one
Code:

aim-server[~/public_html/xcart/4_7_6_gold]$ ls -l modules/HTML_Editor
total 16
-rw-r--r-- 1 aim aim 8666 Jun 14 16:54 admin_func.php
-rw-r--r-- 1 aim aim 3750 Jun 14 16:54 config.php



It should be the 4.7.4 version waiting to be updated.

Thank you.


See answers in quote

herber@wirehub.nl 07-01-2016 03:28 PM

Re: X-Cart 4.7.6 released: Improved Performance, Bugfixes
 
2 Attachment(s)
I have encountered what might be a bug, I don't exactly know.

Sometimes, it seems that an empty entry is created in the table xcart_order_tracking_numbers.
The orderid will be filled in, but no tracking number is present. I haven't been able to find out when these records are created exactly.
In all these cases, this record is created before any tracking number is added to the order by hand. In this case, the order wasn't even shipped, it was picked up, I made up the tracking number that I added. The empty record was already present.

It is not possible to add a tracking number in the order, it will give the error 'Empty ids'.
It can also not be deleted in the order: it will look like it is deleted, but return upon reloading the page.

aim 07-03-2016 09:46 PM

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

Originally Posted by Dougrun
drwxr-xr-x 2 4096 Jun 29 08:54 ./
drwxr-xr-x 90 4096 Jun 29 08:53 ../
-rw-r--r-- 1 8666 Jun 29 09:27 admin_func.php
-rw------- 1 3210 Jun 29 09:35 config.php

so is the config read permissions the culprit??


Could you change the admin_func.php file permissions to 600 ?

Thank you.

aim 07-03-2016 10:12 PM

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

Originally Posted by herber@wirehub.nl
I have encountered what might be a bug, I don't exactly know.

Sometimes, it seems that an empty entry is created in the table xcart_order_tracking_numbers.
The orderid will be filled in, but no tracking number is present. I haven't been able to find out when these records are created exactly.
In all these cases, this record is created before any tracking number is added to the order by hand. In this case, the order wasn't even shipped, it was picked up, I made up the tracking number that I added. The empty record was already present.

It is not possible to add a tracking number in the order, it will give the error 'Empty ids'.
It can also not be deleted in the order: it will look like it is deleted, but return upon reloading the page.


This is a query to delete these empty records

Code:

DELETE FROM xcart_order_tracking_numbers WHERE tracking='';


X-Cart adds tracking_numbers for orders shipped by 1-800Courier automatically.

In other cases only an admin can change or add tracking_numbers.

I suppose you have to check your custom modification.

Thank you.


All times are GMT -8. The time now is 06:39 PM.

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