Zen Cart Logo
Forums / General Questions / Warning: failed to open stream

Warning: failed to open stream

Locked

Views: 1,146

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
21 Jun 2008, 1:39 PM
#1
add2much avatar

add2much

New Zenner

Join Date:
Feb 2005
Posts:
9
Plugin Contributions:
0

Warning: failed to open stream

Was updating products using admin then checked site to find loads of warning messages

anyone able to point out what might be the problem,

site is http://www.perfecthampers.com

21 Jun 2008, 3:56 PM
#2
add2much avatar

add2much

New Zenner

Join Date:
Feb 2005
Posts:
9
Plugin Contributions:
0

Re: Warning: failed to open stream

problem fixed :)

21 Jun 2008, 7:02 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Warning: failed to open stream

What was the solution to this problem? :smile:

22 Jun 2008, 8:22 AM
#4
add2much avatar

add2much

New Zenner

Join Date:
Feb 2005
Posts:
9
Plugin Contributions:
0

Re: Warning: failed to open stream

The warning messages was about the init_templates.php ( line 72 ).

I seemed to fix it by renaming the english.php ( I had it renamed due to the way i do the override system )

after renameing it the errors fixed, then i re-renamed it back to as it was before the fix ( now at "english_overide.php" again )

not sure what happened, not sure why it fixed it ?

23 Jun 2008, 10:51 AM
#5
hbombza avatar

hbombza

New Zenner

Join Date:
Jun 2008
Posts:
2
Plugin Contributions:
0

Re: Warning: failed to open stream

Hi Ajeh

I have been looking around for help with the following error I received when trying to import a test.txt file.

Warning: fopen(/var/www/html/uploads/test.txt): failed to open stream: No such file or directory in /var/www/html/catalog/admin/includes/easypopulate/classes/eclipse/FileIterator.php on line 146

Warning File Import Failed! Primary index column p_products_id or c_categories_index_path missing from uploads file. Please consult the readme.html file for more information

The file was exported from Easy Populate and then I added 1 line and then uploaded the file and tried to import the file. The above error occurred. I tried to change the permissions on the files uploaded to see if that was a problem and the same error occurred. When I changed the permission on the file to "777" and tried, the same error occurred and the file then disappeared off the server.

Please can you assist with this problem.

Cheers

23 Jun 2008, 2:23 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Warning: failed to open stream

No idea ... I do not use Easy Populate ... perhaps try posting the problem on the Easy Populate support thread ...