Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2008
    Posts
    24
    Plugin Contributions
    0

    Default Moved to new server getting errors help!

    Hello,

    I moved my site to a new server and I am now getting permission errors within the admin of my site.


    PHP Code:
    Warningerror_log(/home/username/site.com/cache/page_parse_time.log) [function.error-log]: failed to open streamPermission denied in /home/username/site.com/admin/includes/classes/logger.php on line 60 

    Can anyoen give me a hand with this issue??

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Moved to new server getting errors help!

    What are the permissions on your cache folder and the page_parse_time.log file within it?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jan 2007
    Posts
    169
    Plugin Contributions
    0

    Default Re: Moved to new server getting errors help!

    I got a similar problem, except my error ....

    Code:
    Warning:  error_log(/home/username1/public_html/demo/cache/page_parse_time.log) [function.error-log]: failed to open stream: Permission denied in /home/username2/public_html/admin/includes/classes/logger.php on line 60
    
    only shows up in the admin pages.

    Look at the error message carefully. The strange thing is that webhost username1 and username2 are different! Why it is trying to write log to someone else webhost directory? Granted that the shop had been moved from username1 to username2.

    My cache directory permission is 777. And there is no page_parse_time.log file in there.

    Where is the setting to tell logger to write to correct directory of the correct webhost?

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Moved to new server getting errors help!

    @artcoder

    There's a specific line for defining the path to your cache in your admin/includes/configure.php file. Most likely this got missed during the move.

    (this may well be the problem that headyntl had too)
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Jan 2007
    Posts
    169
    Plugin Contributions
    0

    Default Re: Moved to new server getting errors help!

    Thanks for the tip. That is a good hypothesis. I thought that might be the problem too.

    But my admin/includes/configure.php shows correct location of cache.

    Code:
    define('DIR_FS_SQL_CACHE', '/home/username2/public_html/cache');

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Moved to new server getting errors help!

    I recommend using the Admin > Tools > Developer Toolkit to search for the errant reference to "username1" on your site.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7
    Join Date
    Jan 2007
    Posts
    169
    Plugin Contributions
    0

    Default Re: Moved to new server getting errors help!

    Found it. There is a logging path setting in the database. When you move a ZenCart site and migrate the database, then you have to log into Admin -> Configuration -> Logging -> Log Destination and adjust the path.

 

 

Similar Threads

  1. v139g Moved to new server. Getting error messages.
    By Allaction in forum Basic Configuration
    Replies: 5
    Last Post: 28 Jul 2012, 12:22 AM
  2. Moved to a new server.. Need help with IMPORT DB
    By imfsub12 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 7 Oct 2008, 05:45 AM
  3. Moved Server, Strange Admin Errors...
    By ssdsarah in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 7 Jan 2008, 03:40 PM
  4. Moved Server, Getting Errors! Please help!! :D
    By ssdsarah in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 3 Jan 2008, 09:23 PM
  5. Help on Session after moved to new Server
    By explorer1979 in forum General Questions
    Replies: 2
    Last Post: 3 Sep 2007, 03:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR