Post by victorialinen » Fri Aug 18, 2017 6:02 pm

Hi,

We have a journal theme website working fine in a subfolder of our domain, (www.victorialinen.co.uk/newstore) but when I try to move it to the root I get the errors below.

I've cleared out the root folder just in case anything was interfering, updated both the config.php and have doubled checked that they are correct but still get these errors, not sure what else to do.

Thanks O0


Warning: fopen(/home/m4ttfallon/public_html/system/logs/openbay.log): failed to open stream: No such file or directory in /home/m4ttfallon/public_html/system/library/log.php on line 6

Warning: Cannot modify header information - headers already sent by (output started at /home/m4ttfallon/public_html/system/library/log.php:6) in /home/m4ttfallon/public_html/system/library/session.php on line 50

Warning: fopen(/home/m4ttfallon/public_html/system/cache/cache.language.1502964329): failed to open stream: No such file or directory in /home/m4ttfallon/public_html/system/library/cache/file.php on line 49

Warning: flock() expects parameter 1 to be resource, boolean given in /home/m4ttfallon/public_html/system/library/cache/file.php on line 51

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/m4ttfallon/public_html/system/library/cache/file.php on line 53

Warning: fflush() expects parameter 1 to be resource, boolean given in /home/m4ttfallon/public_html/system/library/cache/file.php on line 55

Warning: flock() expects parameter 1 to be resource, boolean given in /home/m4ttfallon/public_html/system/library/cache/file.php on line 57

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/m4ttfallon/public_html/system/library/cache/file.php on line 59

Warning: Cannot modify header information - headers already sent by (output started at /home/m4ttfallon/public_html/system/library/log.php:6) in /home/m4ttfallon/public_html/catalog/controller/startup/startup.php on line 96

Warning: fopen(/home/m4ttfallon/public_html/system/cache/cache.currency.1502964329): failed to open stream: No such file or directory in /home/m4ttfallon/public_html/system/library/cache/file.php on line 49

Warning: flock() expects parameter 1 to be resource, boolean given in /home/m4ttfallon/public_html/system/library/cache/file.php on line 51

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/m4ttfallon/public_html/system/library/cache/file.php on line 53

Warning: fflush() expects parameter 1 to be resource, boolean given in /home/m4ttfallon/public_html/system/library/cache/file.php on line 55

Warning: flock() expects parameter 1 to be resource, boolean given in /home/m4ttfallon/public_html/system/library/cache/file.php on line 57

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/m4ttfallon/public_html/system/library/cache/file.php on line 59

Warning: fopen(/home/m4ttfallon/public_html/system/logs/openbay.log): failed to open stream: No such file or directory in /home/m4ttfallon/public_html/system/library/log.php on line 6

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/m4ttfallon/public_html/system/library/log.php on line 14

Warning: fopen(/home/m4ttfallon/public_html/system/logs/error.log): failed to open stream: No such file or directory in /home/m4ttfallon/public_html/system/library/log.php on line 6
Journal Installation Error

/home/m4ttfallon/public_html/system/modification/ is not writable. Contact your hosting provider for more information.

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/m4ttfallon/public_html/system/library/log.php on line 14
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/m4ttfallon/public_html/system/library/log.php on line 10
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/m4ttfallon/public_html/system/library/log.php on line 14
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/m4ttfallon/public_html/system/library/log.php on line 10 >:D

Newbie

Posts

Joined
Tue Jul 21, 2015 5:36 am

Post by MrPhil » Fri Aug 18, 2017 9:20 pm

Take them one at a time.

Code: Select all

Warning: fopen(/home/m4ttfallon/public_html/system/logs/openbay.log): failed to open stream: No such file or directory in /home/m4ttfallon/public_html/system/library/log.php on line 6
log.php is running, and attempting to open a file /home/m4ttfallon/public_html/system/logs/openbay.log. Is that path correct? Does the file already exist, but has unwritable (or even, unreadable) permissions? How about the directory it's in -- do you have the appropriate permissions?

Code: Select all

Warning: Cannot modify header information - headers already sent ...
This will go away when the previous error is fixed.

As for the other errors, if you're lucky, they'll go away when you fix any path or directory permission problems. If you find such a fix for the first error, don't be surprised if you need to apply a similar fix in other places.

User avatar
Active Member

Posts

Joined
Wed May 10, 2017 11:52 pm

Post by victorialinen » Fri Sep 15, 2017 2:32 pm

Hi,

Completeley emptied the root folder and started again from scratch. A double check of out htaccess file sorted the problem :)

Newbie

Posts

Joined
Tue Jul 21, 2015 5:36 am

Post by MrPhil » Fri Sep 15, 2017 9:50 pm

By the way, that's the wrong approach. Your store should be left in its own subdirectory (/store or /catalog), rather than being in root. This way, if later you want to add a blog, gallery, or other application, it can go in its own subdirectory and no one will step on anyone else's toes. You will implement a landing page to direct visitors to the appropriate area. While you have only a store, you can do a rewrite in .htaccess to jump visitors from / to /catalog. When you add other applications, and a landing page in /, there will be no change to your links, and customer bookmarks and search engine entries will be unchanged. Your other applications will not have to go through the root application's .htaccess, often breaking them.

User avatar
Active Member

Posts

Joined
Wed May 10, 2017 11:52 pm
Who is online

Users browsing this forum: No registered users and 153 guests