Hi,
I just uploaded my store that run well localy to my website host and when I try to enter the admin section, I get this error message:
Warning: require_once(E:\wamp\www\mysite.com\Opencart/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in E:\hosting\member\portpas\Opencart\admin\index.php on line 6
Fatal error: require_once() [function.require]: Failed opening required 'E:\wamp\www\mysite.com\Opencart/system/startup.php' (include_path='.;C:\php5\pear') in E:\hosting\member\portpas\Opencart\admin\index.php on line 6
I changed htaccess.txt to htaccess,
I have no clue what to do else.
I nedd help please.
Thanks
I just uploaded my store that run well localy to my website host and when I try to enter the admin section, I get this error message:
Warning: require_once(E:\wamp\www\mysite.com\Opencart/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in E:\hosting\member\portpas\Opencart\admin\index.php on line 6
Fatal error: require_once() [function.require]: Failed opening required 'E:\wamp\www\mysite.com\Opencart/system/startup.php' (include_path='.;C:\php5\pear') in E:\hosting\member\portpas\Opencart\admin\index.php on line 6
I changed htaccess.txt to htaccess,
I have no clue what to do else.
I nedd help please.
Thanks
I first uploaded direct from Wamp to Host. I realize that I didn't modify the paths in the config files. Then, I deleted everything and re-upload from opencart upload folder. I installed as explained in the install file and uploaded my 2 modified config.php and the stylesheet.css files in according folders.
After that I uploaded all the folders from my Wamp to be sure to forget nothing, including the other needed files like images, downloads, and languages.
Now I can access my front store but I get a lot of error messageslike:
Warning: fopen(E:\hosting\member\portraitspas\Opencart/cache/cache.product.latest.1.8.1242762400) [function.fopen]: failed to open stream: Permission denied in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 39
Warning: fwrite(): supplied argument is not a valid stream resource in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 41
Warning: fclose(): supplied argument is not a valid stream resource in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 43
Warning: imagejpeg() [function.imagejpeg]: Unable to open 'E:\hosting\member\portraitspas\Opencart/image/cache/dvd189x230__12311-120x120.jpg' for writing: Permission denied in E:\hosting\member\portraitspas\Opencart\system\library\image.php on line 43
Warning: Cannot modify header information - headers already sent by (output started at E:\hosting\member\portraitspas\Opencart\system\library\image.php:43) in E:\hosting\member\portraitspas\Opencart\system\library\response.php on line 65
I am lost since my store is fully working with my local server...
Thanks for any help.
After that I uploaded all the folders from my Wamp to be sure to forget nothing, including the other needed files like images, downloads, and languages.
Now I can access my front store but I get a lot of error messageslike:
Warning: fopen(E:\hosting\member\portraitspas\Opencart/cache/cache.product.latest.1.8.1242762400) [function.fopen]: failed to open stream: Permission denied in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 39
Warning: fwrite(): supplied argument is not a valid stream resource in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 41
Warning: fclose(): supplied argument is not a valid stream resource in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 43
Warning: imagejpeg() [function.imagejpeg]: Unable to open 'E:\hosting\member\portraitspas\Opencart/image/cache/dvd189x230__12311-120x120.jpg' for writing: Permission denied in E:\hosting\member\portraitspas\Opencart\system\library\image.php on line 43
Warning: Cannot modify header information - headers already sent by (output started at E:\hosting\member\portraitspas\Opencart\system\library\image.php:43) in E:\hosting\member\portraitspas\Opencart\system\library\response.php on line 65
I am lost since my store is fully working with my local server...
Thanks for any help.
Done,
I still have same kinda messages :
Warning: fopen(E:\hosting\member\portraitspas\Opencart/cache/cache.product.latest.1.8.1242840305) [function.fopen]: failed to open stream: Permission denied in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 39
Warning: fwrite(): supplied argument is not a valid stream resource in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 41
Warning: fclose(): supplied argument is not a valid stream resource in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 43
Warning: fopen(E:\hosting\member\portraitspas\Opencart/cache/cache.product.bestseller.1.5.1242840305) [function.fopen]: failed to open stream: Permission denied in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 39
Warning: fwrite(): supplied argument is not a valid stream resource in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 41
Warning: fclose(): supplied argument is not a valid stream resource in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 43
And now I don't have anymore images showing on my pages.
I have reuploaded the image cache files to see my images again.
I still have same kinda messages :
Warning: fopen(E:\hosting\member\portraitspas\Opencart/cache/cache.product.latest.1.8.1242840305) [function.fopen]: failed to open stream: Permission denied in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 39
Warning: fwrite(): supplied argument is not a valid stream resource in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 41
Warning: fclose(): supplied argument is not a valid stream resource in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 43
Warning: fopen(E:\hosting\member\portraitspas\Opencart/cache/cache.product.bestseller.1.5.1242840305) [function.fopen]: failed to open stream: Permission denied in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 39
Warning: fwrite(): supplied argument is not a valid stream resource in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 41
Warning: fclose(): supplied argument is not a valid stream resource in E:\hosting\member\portraitspas\Opencart\system\library\cache.php on line 43
And now I don't have anymore images showing on my pages.
I have reuploaded the image cache files to see my images again.
Yeah, leave the cache folders as they were.
These warnings are showing due to your PHP settings on your host - they are showing ALL errors, including the tiny ones that are not going to hurt anyone (usually for debugging)
To turn these off in your opencart installation go to the startup.php file in the system folder and change the following:
to
Hopefully that should do the trick.
These warnings are showing due to your PHP settings on your host - they are showing ALL errors, including the tiny ones that are not going to hurt anyone (usually for debugging)
To turn these off in your opencart installation go to the startup.php file in the system folder and change the following:
Code: Select all
// Error Reporting
error_reporting(E_ALL);
Code: Select all
// Error Reporting
error_reporting(0);
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
Am a newcomer to opencart - have trawled these topics for tips during my initial dabblings.
Must just say a great thank you to everyone who contributes - had some error reports at top of pages once moved everything onto a 'live' site and found this thread and problem solved.
Thanks again!
Must just say a great thank you to everyone who contributes - had some error reports at top of pages once moved everything onto a 'live' site and found this thread and problem solved.
Thanks again!
Genuine, Honest Opencart Support @ http://webvetservices.com
Bad advice!!!readyman wrote:Yeah, leave the cache folders as they were.
These warnings are showing due to your PHP settings on your host - they are showing ALL errors, including the tiny ones that are not going to hurt anyone (usually for debugging)
To turn these off in your opencart installation go to the startup.php file in the system folder and change the following:toCode: Select all
// Error Reporting error_reporting(E_ALL);
Hopefully that should do the trick.Code: Select all
// Error Reporting error_reporting(0);
Its better to fix the problem with his folder settings than to disable error reporting.
now next time he has an error he will not know there is one.
I reloaded the index.php file via ftp but this time used binary (rather than ascii) and have resolved the few problems I had - AND now turned error reports back ON without having the previous reports at top of home page.
Thanks
Thanks
Genuine, Honest Opencart Support @ http://webvetservices.com
I've got the same kind of errors at the top of all the pages:
Warning: fopen(D:\Inetpub\webs\mysitecom\opencart/cache/cache.product.latest.2.8.1247074347) [function.fopen]: failed to open stream: Permission denied in D:\Inetpub\webs\mysitecom\opencart\system\library\cache.php on line 39
If I set error_reporting(0); in the startup.php obviously I don't get any error message anymore but anyway I should solve the problem. Cache doesn't work at all.
It seems I don't have right to write in the folders. I also have the same problem at installation stage: it couldn't write anything in the config.php. It said the installation was successful but both the config.php remained empty and i had to write it manually by myself.
In the pre-installation page it's written that all the file and the folders are writeable and checking the permissions on the servers folders are set to 777 and files to 666, so I don't know why I have permission problems.
The server is windows.
P.S.
Register Globals is set to ON
Magic Quotes GPC is set to ON
cURL is OFF
I don't know if any of these could cause this problem.
Thanks for any help.
Warning: fopen(D:\Inetpub\webs\mysitecom\opencart/cache/cache.product.latest.2.8.1247074347) [function.fopen]: failed to open stream: Permission denied in D:\Inetpub\webs\mysitecom\opencart\system\library\cache.php on line 39
If I set error_reporting(0); in the startup.php obviously I don't get any error message anymore but anyway I should solve the problem. Cache doesn't work at all.
It seems I don't have right to write in the folders. I also have the same problem at installation stage: it couldn't write anything in the config.php. It said the installation was successful but both the config.php remained empty and i had to write it manually by myself.
In the pre-installation page it's written that all the file and the folders are writeable and checking the permissions on the servers folders are set to 777 and files to 666, so I don't know why I have permission problems.
The server is windows.
P.S.
Register Globals is set to ON
Magic Quotes GPC is set to ON
cURL is OFF
I don't know if any of these could cause this problem.
Thanks for any help.
Register Globals is set to ON
should be off
Magic Quotes GPC is set to ON
should be off
cURL is OFF
should be on
contact your host! this is obvwersly nothing to do with opencart if you don;t have the server configured properly.
should be off
Magic Quotes GPC is set to ON
should be off
cURL is OFF
should be on
contact your host! this is obvwersly nothing to do with opencart if you don;t have the server configured properly.
OpenCart®
Project Owner & Developer.
Thanks for quickly reply.
Yes, I know these are host settings and nothing to do with opencart, but I'm not sure they are related to my current problem.
I will contact my provider but you know...I don't aspect too much helpfulness from them so...in the meantime
if you had any suggestion about the problem with the permissions I would try them...
By the way...I'm new in the "php.ini/hosting world". Is there any way to change the php settings on the server by myself? Do I need special permissions? Or should I just prey they will change the settings for me?
Thanks
Yes, I know these are host settings and nothing to do with opencart, but I'm not sure they are related to my current problem.
I will contact my provider but you know...I don't aspect too much helpfulness from them so...in the meantime
if you had any suggestion about the problem with the permissions I would try them...
By the way...I'm new in the "php.ini/hosting world". Is there any way to change the php settings on the server by myself? Do I need special permissions? Or should I just prey they will change the settings for me?
Thanks
Problem solved!
In my hosting space (which is on windows server) is not possible to change permissions on the files (like chmod on linux). Anyway there is a default folder which is named "public" with R and W permissions. cache and everything need to be writeable should move into this folder. In the config.php then you can change the paths to address the new locations.
Hope to be useful for someone else...

In my hosting space (which is on windows server) is not possible to change permissions on the files (like chmod on linux). Anyway there is a default folder which is named "public" with R and W permissions. cache and everything need to be writeable should move into this folder. In the config.php then you can change the paths to address the new locations.
Hope to be useful for someone else...

Hi I am new member to the forum and a beginner with opencart!
I am setting a demo page to bplaced.net and at the Step 2 - Pre Installation all set ok, except the cURL that is OFF!
What is cURL doing to opencart? Who can I set this ON?
Is it possible to do it my self someway?
If the host don't allow to set it to ON, what can I do? My demo page with opencart will work with cURL OFF or not?
Thanks in advance
Amfie
I am setting a demo page to bplaced.net and at the Step 2 - Pre Installation all set ok, except the cURL that is OFF!
What is cURL doing to opencart? Who can I set this ON?
Is it possible to do it my self someway?
If the host don't allow to set it to ON, what can I do? My demo page with opencart will work with cURL OFF or not?
Thanks in advance

Amfie
Talk to you hoster, they can switch it on.Amfie wrote:Hi I am new member to the forum and a beginner with opencart!
I am setting a demo page to bplaced.net and at the Step 2 - Pre Installation all set ok, except the cURL that is OFF!
What is cURL doing to opencart? Who can I set this ON?
Is it possible to do it my self someway?
If the host don't allow to set it to ON, what can I do? My demo page with opencart will work with cURL OFF or not?
Thanks in advance![]()
Amfie
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Who is online
Users browsing this forum: No registered users and 25 guests