Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33
  1. #21
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: SnapShot [support thread]

    Just installed this on another site after successfully installing and using on some other sites, and have run in to a problem. When run it produces:

    can't open file

    Debug log is:

    [22-Apr-2012 16:41:18] PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: No such file or directory in /home/user_name/public_html/admin_folder/snapshot.php on line 41
    [22-Apr-2012 16:41:18] PHP Warning: fopen(/home/user_name/public_html/admin/backups/snapshot/snapshot_cron.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/user_name/public_html/admin_folder/snapshot.php on line 68

    Backups folder is set at 777.

    Server info:

    Zen Cart 1.39h
    PHP 5.2.17
    MySQL 5.5.19-55

    Any ideas?

  2. #22
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    785
    Plugin Contributions
    7

    Default Re: SnapShot [support thread]

    Quote Originally Posted by RescoCCC View Post
    Just installed this on another site after successfully installing and using on some other sites, and have run in to a problem. When run it produces:

    can't open file

    Debug log is:

    [22-Apr-2012 16:41:18] PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: No such file or directory in /home/user_name/public_html/admin_folder/snapshot.php on line 41
    [22-Apr-2012 16:41:18] PHP Warning: fopen(/home/user_name/public_html/admin/backups/snapshot/snapshot_cron.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/user_name/public_html/admin_folder/snapshot.php on line 68

    Backups folder is set at 777.

    Server info:

    Zen Cart 1.39h
    PHP 5.2.17
    MySQL 5.5.19-55

    Any ideas?
    This is a permissions issue.

    When you first run snapshot it builds the directory tree and files off the backup folder.

    If you look at snapshot.php in your admin folder you will see starting about line 31 the tree and file build section.

    You could manual build the folder YOUR_ADMIN/backups/snapshot/ and see if when you run snapshot again if it will build the files needed.

    But if permissions are wrong snapshot still will not build the files that are needed.

    Skip
    • 446F63746F722057686F •

  3. #23
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: SnapShot [support thread]

    Permissions are set correctly at 777. Already tried manually building the folder. Same result.

  4. #24
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    785
    Plugin Contributions
    7

    Default Re: SnapShot [support thread]

    I have seen 775 work on some servers.
    It all comes down to how the server is setup.
    I would ask your hosting company about it.

    Skip
    • 446F63746F722057686F •

  5. #25
    Join Date
    Apr 2010
    Posts
    897
    Plugin Contributions
    0

    Default Re: SnapShot [support thread]

    Aaack!

    I installed SnapShot into a vanilla ZC1.5. After playing around with some things, I decided to do a fresh ZC install from scratch again.

    But now my renamed admin folder keeps persisting, no matter how many times I delete via ftp or File Manager. I suppose this is a good thing in case of attack, but I really want to get rid of it!

    Any help would be greatly appreciated!

    Thanks,
    Mike

  6. #26
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    785
    Plugin Contributions
    7

    Default Re: SnapShot [support thread]

    Quote Originally Posted by Feznizzle View Post
    Aaack!

    I installed SnapShot into a vanilla ZC1.5. After playing around with some things, I decided to do a fresh ZC install from scratch again.

    But now my renamed admin folder keeps persisting, no matter how many times I delete via ftp or File Manager. I suppose this is a good thing in case of attack, but I really want to get rid of it!

    Any help would be greatly appreciated!

    Thanks,
    Mike
    But now my renamed admin folder keeps persisting is this from the old install?
    Did you setup a cron for the old SnapShot install? if so did you delete that cron?

    Skip
    • 446F63746F722057686F •

  7. #27
    Join Date
    Apr 2010
    Posts
    897
    Plugin Contributions
    0

    Default Re: SnapShot [support thread]

    I thought somehow a cron got set up automagically, so I checked via cpanel. No cron.

    Here is exactly what persists:
    RENAMED_ADMIN/backups/snapshot/snapshot_cron.php
    RENAMED_ADMIN/backups/snapshot/snapshot_filewatch.txt

    And yes, that is from the old install.

  8. #28
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    785
    Plugin Contributions
    7

    Default Re: SnapShot [support thread]

    Who is the owner of the snapshot folder? 99, nobody
    Sounds like you do not have the user rights to delete snapshot folder.

    Skip
    • 446F63746F722057686F •

  9. #29
    Join Date
    Apr 2010
    Posts
    897
    Plugin Contributions
    0

    Default Re: SnapShot [support thread]

    I created the folder while in the first ZC, maybe ownership got assigned that way? I have subsequently deleted the files and the sql db.

    How do I view/change ownership?

  10. #30

    Default Re: SnapShot [support thread]

    I just installed Snapshot, and I'm using 1.5.1. I attempted to set up a cron job, but the email messages keep saying:

    /bin/sh: /home5/user/public_html/my_admin/backups/snapshot/snapshot_cron.php: Permission denied

    Any thoughts about this? I did a couple tests by changing files, but the email message is still the same. The changes, however, show up in the admin panel.

    In snapshop_cron.php, I have the following setting:
    $fw->reportAlways(true);

    Is there anything else I should be doing?

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 AM
  2. SysCheck [support thread]
    By swguy in forum All Other Contributions/Addons
    Replies: 36
    Last Post: 24 Oct 2020, 05:28 AM
  3. goMobile Support Thread
    By steveyork136 in forum Addon Templates
    Replies: 29
    Last Post: 26 Aug 2015, 11:56 AM
  4. Commentics [Support Thread]
    By Commentics in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 30 Jan 2013, 10:11 PM
  5. PurpleShades Support Thread
    By kobra in forum Addon Templates
    Replies: 122
    Last Post: 18 May 2011, 07:18 PM

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