Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

X-Cart 4.7.6 released: Improved Performance, Bugfixes

 
Reply
   X-Cart forums > News and Announcements
 
Thread Tools
  #31  
Old 06-29-2016, 09:29 AM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default 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?
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote
  #32  
Old 06-29-2016, 10:03 AM
 
Dougrun Dougrun is online now
 

X-Adept
  
Join Date: Apr 2012
Posts: 897
 

Default 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.
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote
  #33  
Old 06-29-2016, 10:18 PM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

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

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.
Attached Images
File Type: png Screenshot_2016-06-30_10-15-48.png (13.8 KB, 8 views)
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote
  #34  
Old 06-30-2016, 07:33 AM
 
Dougrun Dougrun is online now
 

X-Adept
  
Join Date: Apr 2012
Posts: 897
 

Default 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??
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote
  #35  
Old 06-30-2016, 10:27 AM
 
Dougrun Dougrun is online now
 

X-Adept
  
Join Date: Apr 2012
Posts: 897
 

Default 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?
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote
  #36  
Old 06-30-2016, 10:01 PM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default 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.
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group

Last edited by qualiteam : 06-30-2016 at 10:11 PM.
Reply With Quote
  #37  
Old 07-01-2016, 08:09 AM
 
Dougrun Dougrun is online now
 

X-Adept
  
Join Date: Apr 2012
Posts: 897
 

Default 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
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote
  #38  
Old 07-01-2016, 03:28 PM
 
herber@wirehub.nl herber@wirehub.nl is offline
 

eXpert
  
Join Date: Nov 2002
Posts: 305
 

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

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.
Attached Images
File Type: png Error1.png (5.2 KB, 4 views)
File Type: png Error2.png (4.6 KB, 3 views)
__________________
X-Cart 4.7.12
Reply With Quote
  #39  
Old 07-03-2016, 09:46 PM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default 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.
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote
  #40  
Old 07-03-2016, 10:12 PM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default 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.
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote
Reply
   X-Cart forums > News and Announcements



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:35 PM.

   

 
X-Cart forums © 2001-2020