Error logs in the cpanel tells me:
[Sat Jun 21 13:38:30 2014] [warn] [client 66.220.158.119] mod_fcgid: stderr: PHP Warning: mysql_close() expects parameter 1 to be resource, boolean given in /home/meremart/public_html/system/database/ipsmysql.php on line 156
[Sat Jun 21 13:38:30 2014] [warn] [client 69.171.237.117] mod_fcgid: stderr: PHP Warning: mysql_close() expects parameter 1 to be resource, boolean given in /home/meremart/public_html/system/database/ipsmysql.php on line 156
[Sat Jun 21 13:38:30 2014] [warn] [client 66.220.152.117] mod_fcgid: stderr: PHP Warning: mysql_close() expects parameter 1 to be resource, boolean given in /home/meremart/public_html/system/database/ipsmysql.php on line 156
[Sat Jun 21 13:38:30 2014] [warn] [client 66.220.158.112] mod_fcgid: stderr: PHP Warning: mysql_close() expects parameter 1 to be resource, boolean given in /home/meremart/public_html/system/database/ipsmysql.php on line 156
[Sat Jun 21 13:38:30 2014] [warn] [client 66.220.158.112] mod_fcgid: stderr: PHP Warning: mysql_close() expects parameter 1 to be resource, boolean given in /home/meremart/public_html/system/database/ipsmysql.php on line 156
Poternially relevant logs given to me by my webhost include:
[21-Jun-2014 09:21:45 America/Denver] PHP Fatal error: require(): Failed opening required '/home/meremart/public_html/vqmod/vqcache/vq2-catalog_language_english_common_footer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/meremart/public_html/vqmod/vqcache/vq2-system_library_language.php on line 21
there was something about expired/timeout headers yesterday, but customer support rep was not able to locate the record today.
that is about it.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Can you help me with my query I have posted here - http://forum.opencart.com/viewtopic.php?f=119&t=126898
Which reads:
'I am using the Export/Import Tool - http://www.opencart.com/index.php?route ... sion_id=17
I have recently purchased the SEO Page Title Tag Editor - http://www.opencart.com/index.php?route ... on_id=8837
I need a custom field in the Export/Import Excel Spreadsheet to export the Title Tags.. without this all title tags are deleted when importing the spreadsheet. This is causing me large issues as my SEO company needs these fields.
I did find this post by the creator (JNeuhoff) - search.php?keywords=custom&t=81305&sf=msgonly - Can anyone make sense of this for me, I have had a look and need some assistance.'
Any help will be appreciated.
http://www.TheRugWorld.co.uk - Rugs, Carpet, Vinyl & Laminates! FREE UK Delivery - Worldwide Shipping!
It works! Thanks tooo much!mettty wrote:I'm like a spammer, but I solved it.mettty wrote:Maybe I found the problem with restrictions. My webhost don't allow me use functions sys_get_temp_dir() and tempnam(), which needs server root temp folder. So tool can't make the export file. I tried to modify PHPExcel files to set tmp folder manually (like 'data/folder/tmp') without result.mettty wrote:Hi,
I have the same problem as qaso. There are restrictions on my webhost, so I can't export the file. But I want to try, if I can import the file. And for that I need at least one sample.
Someone who can share with me?
Thanks.
Problem is in opencartfolder/system/PHPExcel/classes/PHPExcel/Shared/file.php line 106 function sys_get_temp_dir()
and in opencartfolder/system/PHPExcel/classes/PHPExcel/Writer/Excel2007.php line 205.
Please help, if someone have any idea how to edit this code. Could not imagine how to use opencart without this tool.Problem is in Excel2007, which (I don't know why) has another method for temp directories on server then Excel5. So back to Excel5.
So if you have the same problem as qaso:and your older version of Import/Export tool was ok, just do this:qaso wrote:I have installed your newest version. It still doesnt work. Here is log:
Code: Select all
2013-02-21 14:16:50 - PHP Warning: realpath() [<a href='function.realpath'>function.realpath</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/data/web/filatelista.eu/:/data/f/i/filatelista.eu/:/usr/php53/lib/php/:/apachetmp/) in /data/f/i/filatelista.eu/web/system/PHPExcel/Classes/PHPExcel/Shared/File.php on line 136 2013-02-21 14:16:50 - PHP Warning: tempnam() [<a href='function.tempnam'>function.tempnam</a>]: open_basedir restriction in effect. File() is not within the allowed path(s): (/data/web/filatelista.eu/:/data/f/i/filatelista.eu/:/usr/php53/lib/php/:/apachetmp/) in /data/f/i/filatelista.eu/web/system/PHPExcel/Classes/PHPExcel/Writer/Excel2007.php on line 205 2013-02-21 14:16:50 - PHP Exception: Could not close zip file php://output. in /data/f/i/filatelista.eu/web/system/PHPExcel/Classes/PHPExcel/Writer/Excel2007.php on line 378
in /admin/model/tool/export.php
edit line 2613 fromtoCode: Select all
header('Content-Disposition: attachment;filename="backup_categories_products.xlsx"');
edit line 2615 fromCode: Select all
header('Content-Disposition: attachment;filename="backup_categories_products.xls"');
toCode: Select all
$objWriter = PHPExcel_IOFactory::createWriter($workbook, 'Excel2007');
Back to server I imported the .xls file and it's ok.Code: Select all
$objWriter = PHPExcel_IOFactory::createWriter($workbook, 'Excel5');
Sorry JNeuhoff for those edits. Hope, you won't be angry. Hope that this will help to somebody.

when exporting i get this:
Code: Select all
2014-07-18 20:38:15 - PHP ErrorException: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT `product_id`, `image`, `sort_order` FROM `oc_product_image` pi ORDER BY pi.`product_id`, pi.`sort_order`, pi.`image`; in /home/inkoptionsco/public_html/system/database/mysqli.php on line 41
Thanks
Aaron
Code: Select all
Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: index.php
If you think this is a server error, please contact the webmaster.
Error 500
Can someone assist me with this problem?
Thank you!
Recently I tryed to import ~1000 products, tool said "it`s ok", but no updates on my store. I had ~800 products then. After this I can`t do export(I see blank/white page, instead of export result). Now I try to import small base(like ~200 items) and comment/uncomment "set_time_limit( 1800 );"-line, but it doesn`t work anyway. There is nothing in error logs.
Before this incident all worked good.
Please help!
Code: Select all
Parse error: syntax error, unexpected $end in /home/cloudcyb/public_html/system/PHPExcel/Classes/PHPExcel/Calculation.php on line 2926
Fatal error: Class 'PHPExcel_Calculation' not found in /home/cloudcyb/public_html/system/PHPExcel/Classes/PHPExcel.php on line 151
Code: Select all
Parse error: syntax error, unexpected $end in /home/cloudcyb/public_html/system/PHPExcel/Classes/PHPExcel/Calculation.php on line 2926
Fatal error: Class 'PHPExcel_Calculation' not found in /home/cloudcyb/public_html/system/PHPExcel/Classes/PHPExcel.php on line 151
I am unable to reproduce your error. Don't use formula's in your spreadsheet values.CloudCyberSystems wrote:getting this error...
Code: Select all
Parse error: syntax error, unexpected $end in /home/cloudcyb/public_html/system/PHPExcel/Classes/PHPExcel/Calculation.php on line 2926 Fatal error: Class 'PHPExcel_Calculation' not found in /home/cloudcyb/public_html/system/PHPExcel/Classes/PHPExcel.php on line 151
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
schiggi wrote:Moving my site from one hoster to another. Get the same error at the new hoster's site while exporting data:My memory allowances should be high enough (~5000 SKUs) with a 512MB memory limit. PHP version 5.3/MySQL 5.5. I suspect that maybe some php extensions are needed/have to be allowed.Code: Select all
Server error! The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: index.php If you think this is a server error, please contact the webmaster. Error 500
Can someone assist me with this problem?
Thank you!
schiggi wrote:I am bit lost with my issue. Could somebody point me to a direction, where I could start to look for the problem? Using the latest OC version and the latest update of the export/import tool.
schiggi wrote:Moving my site from one hoster to another. Get the same error at the new hoster's site while exporting data:My memory allowances should be high enough (~5000 SKUs) with a 512MB memory limit. PHP version 5.3/MySQL 5.5. I suspect that maybe some php extensions are needed/have to be allowed.Code: Select all
Server error! The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: index.php If you think this is a server error, please contact the webmaster. Error 500
Can someone assist me with this problem?
Thank you!
Did you read JNeuhoff's reply and check your spreadsheet?
Mike
cue4cheap not cheap quality
I have OC 1.5.5.1 and downloaded opencart-1-5-5-x-export-import-17.
I use VQmod but I cant find the addon.
Reinstalled VQmod and verified that it works by trying another addon.
Also selected the tool in top admin user group.
Is it just that the addon is hidden or something?
Your need to ask your webhost for the error_log log entries for exactly the time when your Internal Server Error 500 occured. My guess is it could be a timeout issue.schiggi wrote:Thanks for the reply. I think, JNeuhoff meant another user with his reply. In any case, during the export I getting this error.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Bump?baronen wrote:Hi, I'm probably dumb, but followed the instructions and can't get the addon to work. It does not show up anywhere.
I have OC 1.5.5.1 and downloaded opencart-1-5-5-x-export-import-17.
I use VQmod but I cant find the addon.
Reinstalled VQmod and verified that it works by trying another addon.
Also selected the tool in top admin user group.
Is it just that the addon is hidden or something?
Any ideas of whats wrong?
It should be available atbaronen wrote:Bump?baronen wrote:Hi, I'm probably dumb, but followed the instructions and can't get the addon to work. It does not show up anywhere.
I have OC 1.5.5.1 and downloaded opencart-1-5-5-x-export-import-17.
I use VQmod but I cant find the addon.
Reinstalled VQmod and verified that it works by trying another addon.
Also selected the tool in top admin user group.
Is it just that the addon is hidden or something?
Any ideas of whats wrong?
System > Export / Import
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Probably many of you reading this forum had experience issue while exporting products.
The usual symptoms are:
- "PHP out of memory" in Style/Supervisor.php
- blank/white page
Basically it is the same error, but when you have blank/white page, showing PHP errors in page is turned off.
How to resolve it?
UPDATE PHPExcel Libraries!!!
When you are downloading this great extension it is bundled with PHPExcel 1.7.9, which has a bug.
Steps:
1. Download PHPExcel 1.8.0 (current latest stable at the time I write this post) from here https://phpexcel.codeplex.com/releases/view/119187
2. You can download the one with documentation, but "Source Code PHPExcel 1.8.0 - Code only (no Documentation)" is enough
3. Remove "Classes" folder in "system/PHPExcel"
4. Extract/Copy "Classes" folder from downloaded ZIP archive into "system/PHPExcel"
5. Done. Enjoy working export.
With PHPExcel 1.8.0 I was able to export eshop with 2000 products with only 128M memory_limit in php.ini on 1.5.6.4.
Hope this helps.
BTW.: I am currently running some tests on a new multilingual version of the Export/Import tool which can be even more memory-hungry and time consuming. Hence I was looking at some alternative libraries for the Export to start with, the PHP_XLSXWriter looks quite promising, far less memory consuming, and faster, will see how it fares.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Thanks again for your reply. The server error logs tell me this story:JNeuhoff wrote:Your need to ask your webhost for the error_log log entries for exactly the time when your Internal Server Error 500 occured. My guess is it could be a timeout issue.schiggi wrote:Thanks for the reply. I think, JNeuhoff meant another user with his reply. In any case, during the export I getting this error.
Code: Select all
[Wed Aug 20 22:57:31 2014] [warn] [client 91.64.44.88] Timeout waiting for output from CGI script /var/www/cgi-bin/cgi_wrapper/cgi_wrapper, referer: http://xxx.xx/admin/index.php?route=tool/export&token=7e595c3ba28533adbe8c5f77f7c44879
[Wed Aug 20 22:57:31 2014] [error] [client 91.64.44.88] Script timed out before returning headers: cgi_wrapper, referer: http://xxx.xx/admin/index.php?route=tool/export&token=7e595c3ba28533adbe8c5f77f7c44879
[Wed Aug 20 22:58:31 2014] [warn] [client 91.64.44.88] Timeout waiting for output from CGI script /var/www/cgi-bin/cgi_wrapper/cgi_wrapper, referer: http://xxx.xx/admin/index.php?route=tool/export&token=7e595c3ba28533adbe8c5f77f7c44879

Would the phpinfo help to resolve the issue?
Users browsing this forum: No registered users and 5 guests