Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SiteMonitor


Jack_mcs

Recommended Posts

Still hunting around to see why there are problems opening a possibly infected file on xampp, so thougth do a vanilla installof 231 on a linux host

 

Got this

 

Error WARNING: Your images directory contains non-image type files which is, generally, not correct.
Error
Error

 

So removed all the directories and .htaccess file and got this

 

Error WARNING: Your images directory is not protected by a .htaccess file.
Error WARNING: Your images directory contains non-image type files which is, generally, not correct.
Error
Error

 

Using file manager in host control panel I can see this

 

This directory is empty.

 

A bit of research found that it would appear that an open_basedir restriction means that glob() returns false

 

http://php.net/manua...nction.glob.php

 

 $invalidFiles = glob(DIR_FS_CATALOG . DIR_WS_IMAGES . '*.php');
 if(is_array($invalidFiles) && count($invalidFiles) > 0)
 {
  $messageStack->add(ERROR_IMAGES_HAS_PHP, 'error');
  foreach($invalidFiles as $filename)
  {
	echo $messageStack->add($filename);
  }
 }
 $invalidFiles = glob(DIR_FS_CATALOG . DIR_WS_IMAGES . '*.txt');
 if(is_array($invalidFiles) && count($invalidFiles) > 0)
 {
  $messageStack->add(ERROR_IMAGES_HAS_PHP, 'error');
  foreach($invalidFiles as $filename)
  {
	echo $messageStack->add($filename);
  }
 }

 

So that gets rid of the blank error lines.

 

Oh and by the way files open fine.

 

Now to install xampp so the path does not include spaces and see if that is it.

 

Happy Christmas

 

G

Edited by geoffreywalton

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

hello.

 

already to using latest version.

but when i try to manual check in this link http://xxx.com/admin/sitemonitor.php

 

this messenges i get:

Warning: opendir(/home/username/public_html) [function.opendir]: failed to open dir: No such file or directory in /home/musicali/public_html/admin/includes/functions/sitemonitor_functions.php on line 343

No new files found...

Found a deleted file named

No size differences found...

No time mismatches found...

No permissions mismatches found...

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sitemonitor (0) ran on December 28, 2011, 1:58 am

Total mismatches found were 1

Total files being monitored is 0

Email sent to shop owner.

 

 

how to make this awesome fitur can run in backend. thank

 

best regards,

 

zoe

 

merry christmas

Link to comment
Share on other sites

hello.

 

already to using latest version.

but when i try to manual check in this link http://xxx.com/admin/sitemonitor.php

 

this messenges i get:

Warning: opendir(/home/username/public_html) [function.opendir]: failed to open dir: No such file or directory in /home/musicali/public_html/admin/includes/functions/sitemonitor_functions.php on line 343

You haven't setup the configure file correctly since it says your username is username.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi, I installed sitemonitor and im getting this error when i try to click on sitemonitor in the admin control

 

Thanks for any help.

 

404 Not Found

Not Found

 

The requested URL /admin/FILENAME_SITEMONITOR_ADMIN was not found on this server.

Edited by Darren11
Link to comment
Share on other sites

Hi, I installed sitemonitor and im getting this error when i try to click on sitemonitor in the admin control

 

Thanks for any help.

 

404 Not Found

Not Found

 

The requested URL /admin/FILENAME_SITEMONITOR_ADMIN was not found on this server.

When there are capital letters in an error like that it means there is a missing definition so you've made a mistake in the installation.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Thank you jack_mcs that fixed it now i get 3 different error, Any idea how to fix them? I tried to change permissions but that didn't work.

 

Warning: fopen(sitemonitor_db_reference.txt) [function.fopen]: failed to open stream: Permission denied in /var/www/vhosts/Pinnacle-Games.com/httpdocs/admin/includes/functions/sitemonitor_functions.php on line 824

Failed to open file sitemonitor_db_reference.txt

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/Pinnacle-Games.com/httpdocs/admin/includes/functions/sitemonitor_functions.php on line 828

 

Warning: unlink(sitemonitor_db_reference.txt) [function.unlink]: No such file or directory in /var/www/vhosts/Pinnacle-Games.com/httpdocs/admin/includes/functions/sitemonitor_functions.php on line 134

Link to comment
Share on other sites

I still can't seem to fix the errors above but i also get this error when i go to the sitemonitor / configure

 

Not Found

 

The requested URL /admin/sitemonitor_configure_setup.php was not found on this server.

Edited by Darren11
Link to comment
Share on other sites

I still can't seem to fix the errors above but i also get this error when i go to the sitemonitor / configure

 

Not Found

 

The requested URL /admin/sitemonitor_configure_setup.php was not found on this server.

The first error you mentioned i probably due to your server settings. You will need to ask your host to change those. This last error is because a file can't be found. You have to upload all of the files or it won't work.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

The first error you mentioned i probably due to your server settings. You will need to ask your host to change those. This last error is because a file can't be found. You have to upload all of the files or it won't work.

 

Hi, I just re-uploaded the files to directory /httpdocs/admin and looked in admin and sitemonitor_configure_setup.php is in there, Anything else it could be?

 

Thanks for the help,

 

Darren

Link to comment
Share on other sites

Hi, I just re-uploaded the files to directory /httpdocs/admin and looked in admin and sitemonitor_configure_setup.php is in there, Anything else it could be?

I can't think of anything else to suggest. If the file is there and php is saying it isn't, there is probably some path problem somewhere but that isn't something I can troubleshoot from here. If you have a host that will look at such things, I suggest asking them to look at that error.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I can't think of anything else to suggest. If the file is there and php is saying it isn't, there is probably some path problem somewhere but that isn't something I can troubleshoot from here. If you have a host that will look at such things, I suggest asking them to look at that error.

 

I changed the admin directory to chmod 777 and all the errors is gone, Is that ok to do?

Edited by Darren11
Link to comment
Share on other sites

 

I changed the admin directory to chmod 777 and all the errors is gone, Is that ok to do?

 

New error now, Would the older versions work better then this new one?

 

Warning: opendir() [function.opendir]: open_basedir restriction in effect. File(/home/username/public_html) is not within the allowed path(s): (/var/www/vhosts/Pinnacle-Games.com/httpdocs:/tmp) in /var/www/vhosts/Pinnacle-Games.com/httpdocs/admin/includes/functions/sitemonitor_functions.php on line 343

 

Warning: opendir(/home/username/public_html) [function.opendir]: failed to open dir: Operation not permitted in /var/www/vhosts/Pinnacle-Games.com/httpdocs/admin/includes/functions/sitemonitor_functions.php on line 343

Reference file creation failed!

Edited by Darren11
Link to comment
Share on other sites

I fixed all the above now i get this

 

Warning: opendir(/httpdocs) [function.opendir]: failed to open dir: No such file or directory in /var/www/vhosts/Pinnacle-Games.com/httpdocs/Templates1/includes/functions/sitemonitor_functions.php on line 343

Reference file creation failed!

 

The sitemonitor_reference file cannot be written to.

Link to comment
Share on other sites

I fixed all the above now i get this

 

Warning: opendir(/httpdocs) [function.opendir]: failed to open dir: No such file or directory in /var/www/vhosts/Pinnacle-Games.com/httpdocs/Templates1/includes/functions/sitemonitor_functions.php on line 343

Reference file creation failed!

 

The sitemonitor_reference file cannot be written to.

The path is showing that SiteMonitor is installed in your shop, not your admin, unless your admin is named Templates1.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

The path is showing that SiteMonitor is installed in your shop, not your admin, unless your admin is named Templates1.

 

It is Template1, I backed up the site to a different folder and changed it to the admin folder. I did not want to mess up all the site and re-install it, Any idea what them new errors could be from? If i can not gettign working is there any other programs like sitemonitor i could install?

 

I only get that this error all the time in pink: The sitemonitor_reference file cannot be written to.

 

I get the other errors after i click any of the update buttons,

 

Warning: opendir(/httpdocs) [function.opendir]: failed to open dir: No such file or directory in /var/www/vhosts/Pinnacle-Games.com/httpdocs/Templates1/includes/functions/sitemonitor_functions.php on line 343

Reference file creation failed!

 

And i get this error if i click configure and it goes to a white screen.... I looked all files is where there meant to be.

 

http://www.pinnacle-games.com/Templates1/sitemonitor_configure_setup.php

Not Found

 

The requested URL /Templates1/sitemonitor_configure_setup.php was not found on this server.

Edited by Darren11
Link to comment
Share on other sites

Hi, I deleted my Domain thinking it could be because i made it with caps like this www.Pinnacle-Games.com and made a new one like this www.pinnacle-games.com but i am getting a error if i go to any link on my page like this

 

http://www.pinnacle-...talogindex.php/

 

Anyone know how to fix this?

Edited by Darren11
Link to comment
Share on other sites

Hi, I deleted my Domain thinking it could be because i made it with caps like this www.Pinnacle-Games.com and made a new one like this www.pinnacle-games.com but i am getting a error if i go to any link on my page like this

 

http://www.pinnacle-...talogindex.php/

 

Anyone know how to fix this?

As mentioned previously, there is something wrong with your setup. You should start by checking your configure file.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I have the same problem as Darren11.

This is the error I get on the admin section:

"Warning: opendir(/Library/WebServer/Documents/catalog/install/) [function.opendir]: failed to open dir: Permission denied in /Library/WebServer/Documents/catalog/admin/includes/functions/sitemonitor_functions.php on line 554"

 

I set permissions to 755. Any other thoughts? Thanks!

Link to comment
Share on other sites

I have the same problem as Darren11.

This is the error I get on the admin section:

"Warning: opendir(/Library/WebServer/Documents/catalog/install/) [function.opendir]: failed to open dir: Permission denied in /Library/WebServer/Documents/catalog/admin/includes/functions/sitemonitor_functions.php on line 554"

 

I set permissions to 755. Any other thoughts? Thanks!

 

Do you get this error to? Reference file creation failed!

Link to comment
Share on other sites

I have the same problem as Darren11.

This is the error I get on the admin section:

"Warning: opendir(/Library/WebServer/Documents/catalog/install/) [function.opendir]: failed to open dir: Permission denied in /Library/WebServer/Documents/catalog/admin/includes/functions/sitemonitor_functions.php on line 554"

 

I set permissions to 755. Any other thoughts? Thanks!

It looks like you have the start directory option in the SiteMonitor settings to read the whole server. Try limiting it to just your shop.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I fixed my errors by adding this to the sitemonitor_configure_0

 

$start_dir = '/var/www/vhosts/pinnacle-games.com/httpdocs/'; //your shops root

$admin_dir = 'http://www.pinnacle-games.com/Templates1'; //your shops admin

 

But i still have one more problem, It can not find sitemonitor_configure_setup.php

 

When i go to sitemonitor/configure in the admin panel i get this error

http://www.pinnacle-...igure_setup.php

Not Found

 

The requested document was not found on this server.

Edited by Darren11
Link to comment
Share on other sites

I fixed my errors by adding this to the sitemonitor_configure_0

 

$start_dir = '/var/www/vhosts/pinnacle-games.com/httpdocs/'; //your shops root

$admin_dir = 'http://www.pinnacle-games.com/Templates1'; //your shops admin

 

But i still have one more problem, It can not find sitemonitor_configure_setup.php

 

When i go to sitemonitor/configure in the admin panel i get this error

http://www.pinnacle-...igure_setup.php

Not Found

 

The requested document was not found on this server.

There is something wrong with your setup - paths are not right or something like that. I've mentioned this twice now so I can't say anything else about it. Some problems aren't fixable in a support thread.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

There is something wrong with your setup - paths are not right or something like that. I've mentioned this twice now so I can't say anything else about it. Some problems aren't fixable in a support thread.

 

I posted it to maybe help vmjarala, Do you think my problem is in the sitemonitor_configure_0 paths? or the server config?

Edited by Darren11
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...