Test Import : Internal Server Error | Support Questions | Support Forum

A A A

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Test Import : Internal Server Error
February 12, 2018
1:51 pm
Go
Member
Members
Forum Posts: 5
Member Since:
February 12, 2018
sp_UserOfflineSmall Offline

Hi,

version of wp : 4.9.4
version of awpcp : 3.8.3

i am testing awpcp on xampp install on windows 7.

when I try to import my file (about 1000 lines), the result is : Error dans la ligne 0   Internal Server Error.

Error.log
[Mon Feb 12 21:46:36.494655 2018] [php7:error] [pid 3544:tid 1940] [client ::1:64608] PHP Fatal error: Uncaught RuntimeException: SplFileObject::__construct(C:\\xampp\\htdocs\\bagri/wp-content\\uploads\\awpcp\\\\C:\\xampp\\htdocs\\bagri/wp-content/uploads/awpcp/import/c1de083fe579b68081f76068e9fc2485\\source.csv): failed to open stream: No such file or directory in C:\\xampp\\htdocs\\bagri\\wp-content\\plugins\\another-wordpress-classifieds-plugin\\admin\\import\\class-csv-reader.php:104
Stack trace:
#0 C:\\xampp\\htdocs\\bagri\\wp-content\\plugins\\another-wordpress-classifieds-plugin\\admin\\import\\class-csv-reader.php(104): SplFileObject->__construct(‘C:\\\\xampp\\\\htdocs…’)
#1 C:\\xampp\\htdocs\\bagri\\wp-content\\plugins\\another-wordpress-classifieds-plugin\\admin\\import\\class-csv-reader.php(72): AWPCP_CSV_Reader->get_file_object()
#2 C:\\xampp\\htdocs\\bagri\\wp-content\\plugins\\another-wordpress-classifieds-plugin\\admin\\import\\class-csv-reader.php(62): AWPCP_CSV_Reader->get_row_data(0)
#3 C:\\xampp\\htdocs\\bagri\\wp-content\\plugins\\another-wordpress-classifieds-plugin\\admin\\import\\class-csv-reader.php(114): AWPCP_CSV_Reader->get_header()
#4 C:\\x in C:\\xampp\\htdocs\\bagri\\wp-content\\plugins\\another-wordpress-classifieds-plugin\\admin\\import\\class-csv-reader.php on line 104, referer: http://localhost/bagri/wp-admin/admin.php?page=awpcp-import

the beginning of my csv file :
title,details,contact_name,contact_email,category_name,item_price
42DIVM,Pack 4 Tube,,,BEDOUELLE DISTRIBUTI,20.19
50020,”LANCE “”AMERICAINE”””,,,BEDOUELLE DISTRIBUTI,29.86
15600,IDK-C 120 025 LILAS,,,BEDOUELLE DISTRIBUTI,9.2
83610019,VANNE 1 ‘ ‘ 2 VOIES,,,BLANCHARD (pulve),11.64
VNB1632694,SUPPORT,,,BLANCHARD (pulve),47.98
VNB1632794,SUPPORT,,,BLANCHARD (pulve),47.98
746739,BLISTER 8 BUSES MAR,,,BUISARD,26.18
3019158,JOINT TERMOSTAT,,,CUMMINS,1.31
…..
No picture, default date.

Any idea what may be causing the issue?

Thanks

February 14, 2018
2:24 am
Go
Member
Members
Forum Posts: 5
Member Since:
February 12, 2018
sp_UserOfflineSmall Offline

Hi,

I tested with the sample file of the documentation, and I had the same result.
I have to upload to server soon, and I want everything to work before.
Please help me !

Thanks

February 14, 2018
6:58 am
Go
Member
Members
Forum Posts: 5
Member Since:
February 12, 2018
sp_UserOfflineSmall Offline

I specify here the path of the file before the test with the sample file :

C:\xampp\htdocs\bagri\wp-content\uploads\awpcp\import\b8333b31088e1c1226d9cd27fa53cf08

with :

images
images.zip
sources.csv

and the new error.log :

[Wed Feb 14 14:25:24.359795 2018] [php7:error] [pid 5932:tid 1936] [client ::1:51528] PHP Fatal error: Uncaught RuntimeException: SplFileObject::__construct(C:\\xampp\\htdocs\\bagri/wp-content\\uploads\\awpcp\\\\C:\\xampp\\htdocs\\bagri/wp-content/uploads/awpcp/import/b8333b31088e1c1226d9cd27fa53cf08\\source.csv): failed to open stream: No such file or directory in C:\\xampp\\htdocs\\bagri\\wp-content\\plugins\\another-wordpress-classifieds-plugin\\admin\\import\\class-csv-reader.php:104
Stack trace:
#0 C:\\xampp\\htdocs\\bagri\\wp-content\\plugins\\another-wordpress-classifieds-plugin\\admin\\import\\class-csv-reader.php(104): SplFileObject->__construct(‘C:\\\\xampp\\\\htdocs…’)
#1 C:\\xampp\\htdocs\\bagri\\wp-content\\plugins\\another-wordpress-classifieds-plugin\\admin\\import\\class-csv-reader.php(72): AWPCP_CSV_Reader->get_file_object()
#2 C:\\xampp\\htdocs\\bagri\\wp-content\\plugins\\another-wordpress-classifieds-plugin\\admin\\import\\class-csv-reader.php(62): AWPCP_CSV_Reader->get_row_data(0)
#3 C:\\xampp\\htdocs\\bagri\\wp-content\\plugins\\another-wordpress-classifieds-plugin\\admin\\import\\class-csv-reader.php(114): AWPCP_CSV_Reader->get_header()
#4 C:\\x in C:\\xampp\\htdocs\\bagri\\wp-content\\plugins\\another-wordpress-classifieds-plugin\\admin\\import\\class-csv-reader.php on line 104, referer: http://localhost/bagri/wp-admin/admin.php?page=awpcp-import

If you have an idea of where the problem comes from ??
I take it.
Thanks

February 14, 2018
8:56 am
AWPCP Support
Moderator
Members

Moderators
Forum Posts: 5069
Member Since:
September 4, 2013
sp_UserOfflineSmall Offline

Hi Go,

Thank you for contacting us regarding this issue. I’m happy to help here.

How large is the CSV file you are importing?  What PHP version do you have running?

98% of the folks running AWPCP are on Linux based machines and we don’t usually test Windows servers as a result of that, so it’s possible this is a Windows-specific issue.  Do you have access to a Linux-based server to install and test on?

Please let me know.

February 14, 2018
10:43 am
Go
Member
Members
Forum Posts: 5
Member Since:
February 12, 2018
sp_UserOfflineSmall Offline

Hi,
Thank you for your reply.
my version of PHP: 7.1.9
My CSV is 42kb but it does not work either with your “sample.csv” 1 kb.
I am waiting for the creation of my account on a Linux server. I’ll keep you informed.

April 7, 2018
11:39 am
Go
Member
Members
Forum Posts: 5
Member Since:
February 12, 2018
sp_UserOfflineSmall Offline

Hi,
it run on the linux server.

Thanks.

April 9, 2018
8:54 am
AWPCP Support
Moderator
Members

Moderators
Forum Posts: 5069
Member Since:
September 4, 2013
sp_UserOfflineSmall Offline

Hi Go,

Thanks for letting me know! I’m glad the issue is resolved now. 

Forum Timezone: America/Denver

Most Users Ever Online: 163

Currently Online:
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Johnny B: 140

godie: 120

kerdezo: 99

laburke: 94

NAIN KHAN: 93

salvig67: 84

rude: 72

purplepaula: 72

WAYTOBAYWTB52: 71

gery: 71

Member Stats:

Guest Posters: 30

Members: 37625

Moderators: 2

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 6868

Posts: 30647

Newest Members:

Volod, WINNY PUTRI LUBIS, oroxuruv, alunevu, Sivaleela, media maya, media maya, john, John, Sacha

Moderators: awpcp: 7530, AWPCP Support: 5069

Administrators: wpengine: 0, awpcp: 298

Skip to toolbar