Zen Cart Logo
Forums / All Other Contributions/Addons / Site file Monitor (Error)

Site file Monitor (Error)

Locked

Views: 1,774

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
29 Apr 2010, 1:21 AM
#1
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
460
Plugin Contributions:
0

Site file Monitor (Error)

hi,

I have just installed Site File Monitor on 1.3.9a fresh install.
When I click on update the site monitor admin section, it says this error: (Reference file creation failed.)

Delete Reference File
Delete the reference file and create a new one.

All files where installed correctly and the two files edited correctly as well!

Any one had this happen yet?

Maybe it's not compatible with 1.3.9a?

Best Regards,

4 May 2010, 10:13 PM
#2
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
460
Plugin Contributions:
0

Re: Site file Monitor (Error)

Has anyone added this mod to 1.3.9b and got it working?

20 May 2010, 7:07 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,776
Plugin Contributions:
11

Re: Site file Monitor (Error)

Our experience is that the addition of the require once in the two files will fix the problem IF you make sure you are using the correct username in the Start Directory block. Something like /home/freaker/public_html where freaker is your username.

Also, there needs to be a fix to line 418 of the sitemonitor_configure_setup.php in the root of your admin in order to make the update button appear.

It should read ```php
<INPUT type="image" src="<?php echo DIR_WS_LANGUAGES . $language . 'english/images/buttons/button_update.gif'; ?>"


HTH
20 May 2010, 7:19 AM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,776
Plugin Contributions:
11

Re: Site file Monitor (Error)

In addition to that, if you want to run a cron to get it going use> php -q /home/USERNAME/public_html/YOUR_ADMIN/sitemonitor.phpRemember to change USERNAME and YOUR_ADMIN to the correct settings.

I would not recommend running the cron more than once a day.

20 May 2010, 6:37 PM
#6
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: Site file Monitor (Error)

dbltoe,

Is this module running on 1.3.9c for you? Mine won't run and it gets the same error "Reference file creation failed"

20 May 2010, 6:44 PM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,776
Plugin Contributions:
11

Re: Site file Monitor (Error)

Running fine AFTER editing the two files AND making sure the path is correct in the Start Directory block in your admin panel under configure.

I added the file correction because the update button was not showing. The link was incorrect.

20 May 2010, 7:32 PM
#8
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: Site file Monitor (Error)

Got it to work!

Is it possible to just have the cron job send email if and when there are changes made to the site?

20 May 2010, 8:15 PM
#9
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,776
Plugin Contributions:
11

Re: Site file Monitor (Error)

Cron jobs have to be set to run at a certain time. However, you could code the proper php file to only e-mail you if a change has occurred.

I don't always believe that "no news is good news." I prefer to know either way. Just the paranoia in me, I guess. :yes:

:clap: smilies are back!