Jump to content
Jack_mcs

SiteMonitor

Recommended Posts

I don't see the benefit of doing that. If you want to add a new file to exclude then you would have to edit the file you created. As it is now, you edit the file in the code. But maybe I'm missing the point. Please explain how doing that will help?

Share this post


Link to post
Share on other sites

Hi Jack

Thank you for you great add ons.

I get this in the server log when accessing the configure page. (In my Phoenix test shop PHP 7.3)

PHP Warning:  Use of undefined constant BOX_WIDTH - assumed 'BOX_WIDTH' (this will throw an Error in a future version of PHP) in D:\\Phoenix_7_3\\htdocs\\**********\\sitemonitor_configure_setup.php on line 404, referer: http://localhost/*********/sitemonitor_admin.php

 

Edited by mhsuffolk

OsC 2.3.4.1 CE Frozen   PHP 7.2   MySQL 10.1.36-MariaDB-cll-lve. Phoenix in development

Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix 1.0.4.0) here.

Share this post


Link to post
Share on other sites

That is a php compatibility issue. The change below will fix it but there are problem others. This addon is scheduled for an update but I don't when that will be.

In admin/sitemonitor_configure_setup.php, find two instances of the following and remove them.

width="<?php echo BOX_WIDTH; ?>"

 

Share this post


Link to post
Share on other sites

A new version has been uploaded with these changes:

  • Added headers to the mail function.
  • Added a global entry in functions file to fix problem with php 7.2 Found by member mhsuffolk.
  • Corrected coding mistake that stopped some configurations from being recognized.
  • Removed the BOX_WIDTH usage for newer shops.
  • Removed definitions missed in the last version.

Share this post


Link to post
Share on other sites

Thank you very much Jack @Jack_mcsfor your support of the OSC community.

Especially for your excellent support and for SHARING.

Cheers

Valqui


Please do not falsify my words. Are you interested in knowing who does it? Send me a PM.

The Phoenix Club won't allow me to join - why not?

Setting up a new Frozen site with so many nice addons available on the market. 

:heart: Community Oscommerce fan :heart:

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×