Post by adelcity53 » Sun Jul 31, 2016 7:07 am

Would appreciate any assistance with this.
https://www.salonmegamall.com
OpenCart V 1.5.6

Thanks Paul

WARNINGS appear on each page (Even OpenCart Admin). They do change but are basically like this one:
Warning: fopen(/home6/salonmeg/public_html/system/cache/cache.manufacturer.0.1469919796): failed to open stream: No such file or directory in /home/salonmeg/public_html/system/library/cache.php on line 32Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/salonmeg/public_html/system/library/cache.php on line 34Warning: fclose() expects parameter 1 to be resource, boolean given in /home/salonmeg/public_html/system/library/cache.php on line 36Warning: fopen(/home6/salonmeg/public_html/system/cache/cache.language.1469919796): failed to open stream: No such file or directory in /home/salonmeg/public_html/system/library/cache.php on line 32Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/salonmeg/public_html/system/library/cache.php on line 34Warning: fclose() expects parameter 1 to be resource, boolean given in /home/salonmeg/public_html/system/library/cache.php on line 36Warning: fopen(/home6/salonmeg/public_html/system/cache/cache.currency.1469919796): failed to open stream: No such file or directory in /home/salonmeg/public_html/system/library/cache.php on line 32Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/salonmeg/public_html/system/library/cache.php on line 34Warning: fclose() expects parameter 1 to be resource, boolean given in [/color]/home/salonmeg/public_html/system/library/cache.php on line 36
Last edited by straightlight on Mon Aug 01, 2016 1:15 am, edited 1 time in total.
Reason: Added quote tags.

New member

Posts

Joined
Fri Apr 17, 2015 4:27 pm

Post by IP_CAM » Sun Jul 31, 2016 7:46 am

you have to check, by use of an FTP-Client, if this Subdirectory exists:
system/cache/
and if it contains any files.

If it DOES exist, but does NOT contain any files, you should CHMODE this CACHE/ Subdirectory
to be readable internally, so, check on this Page, to get some basic informations on this CHMODE Thing:

http://everyauction.info/serverinfo.html#6

Ernie

I am no longer active at this Forum.
Please don't send Personal Messages, contact: jti@jacob.ch
---
Github OC Downloads: https://github.com/IP-CAM
2'000+ FREE OC Extensions from the World's largest Github OC Archive.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by adelcity53 » Sun Jul 31, 2016 9:29 am

Thanks,
I checked via the server (Waiting on new FTP passwords):
Can't see SYSTEMS/CACHE folder.
I checked my OpenCart V1.5.6 from my PC Files and found the Cache but the HTML file is empty.

Understand that you are referring to setting Permissions.

Appreciate your help !!

Since posting this I have been further advised and resolved the issue. Thank you very much for you help.
Very much appreciated
Last edited by adelcity53 on Sun Jul 31, 2016 11:03 pm, edited 1 time in total.

New member

Posts

Joined
Fri Apr 17, 2015 4:27 pm

Post by victorj » Sun Jul 31, 2016 2:56 pm

Go to folder System and create a new folder named cache.
Step info folder cache and create a new file called index.html.
By default it is a empty folder, opencart Just needs that folder to write its cache files to it.
That should solve your issue

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by adelcity53 » Sun Jul 31, 2016 11:01 pm

Thank you
Perfect answer....PERFECT RESULT !!

Regards....Paul

Have another one for you from another website:

http://www.jewellerysuperstore.com.au [http://www.jewellerysuperstore.com.au/f ... quire-once]
Warning: require_once(/home/jeweller/public_html/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /home15/jeweller/public_html/index.php on line 19

Fatal error: require_once() [function.require]: Failed opening required '/home/jeweller/public_html/system/startup.php' (include_path='.:/opt/alt/php53/usr/share/pear:/opt/alt/php53/usr/share/php') in /home15/jeweller/public_html/index.php on line 19
Last edited by straightlight on Mon Aug 01, 2016 1:15 am, edited 1 time in total.
Reason: Added quote tags.

New member

Posts

Joined
Fri Apr 17, 2015 4:27 pm

Post by victorj » Sun Jul 31, 2016 11:06 pm

Absolute paths are incorrect in config.php files

Check your config files both in root and admin.

Change home/ to home15/

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by adelcity53 » Mon Aug 01, 2016 6:26 pm

Thanks again,

Did as you suggested and reset to /home15/ and all is OK again.
This website was built for us some time ago and has been dormant.
I did notice files such as config_copy.php and others as shown on ScreenShot.
Should I delete these....They look as if they were from Website Developer when building site.

Thank you for your great insight
Regards
Paul

Attachments

SCREEN_11.JPG

Unusual CONFIG FILES - SCREEN_11.JPG (53.23 KiB) Viewed 1580 times


New member

Posts

Joined
Fri Apr 17, 2015 4:27 pm

Post by straightlight » Tue Aug 02, 2016 2:11 am

adelcity53 wrote:Thanks again,

Did as you suggested and reset to /home15/ and all is OK again.
This website was built for us some time ago and has been dormant.
I did notice files such as config_copy.php and others as shown on ScreenShot.
Should I delete these....They look as if they were from Website Developer when building site.

Thank you for your great insight
Regards
Paul
These files are not delivered from the core installation of Opencart. However, I would suggest to make a backup of these files before considering to remove them unless a specific extension relies on those particular files.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 13 guests