Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Post by jmcgin51 »

Rolf wrote:
jmcgin51 wrote: Just updated all of my sites to the latest official release SimpleSiteInfo (.3), and now when I update each site via SimpleSiteManager on my master site, I do not get any version information from any of the sites. 
Did you do a log out of the clients admin, jmcgin51? At this moment the file is created

Reg. Rolf
Thanks Rolf.  I was just coming back here to post that I had fixed the issue - it was exactly what you said.  I had logged in and updated the module, but not actually logged back out.  :-[ All sites are working as expected now, so my issue is RESOLVED.  Thanks!!
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Post by Nullig »

New Beta version 0.4 released - both SimpleSiteMgr and SimpleSiteInfo. Included in this release:

- better handling of https sites
- a new encryption/decryption method
- an "Update All" link to update all sites at once
- better handling of updating errors

Note: you must update the monitored sites with the new SimpleSiteInfo module and then logout of them to create a version info file using the new encryption method. Then you can install the SimpleSiteMgr module and update the sites.

Nullig
Last edited by Nullig on Mon Sep 20, 2010 12:08 am, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Post by Rolf »

Hi Nullig,

Upgrading SimpleSiteInfo module to 0.4beta ends up in:
Fatal error: Call to undefined method SimpleSiteInfo::NB_Encryption() in /public/sites/www.atmytestsite.com/modules/SimpleSite ... graded.php on line 111
However it seems like everything is working fine...

In SimpleSiteMgr, at the "Manage site" tab there is the column named "Uploaded on".
The time in that column is the time when the websitelist in the manager is updated. So I think the text should be "Downloaded on", because you download the info from the other sites... Isn't it?

Reg. Rolf  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Post by Nullig »

I think the error message occurs because the upgrade event triggers an update of the version file and it's not calling the new SimpleSiteInfo.module.php file. I will fix that in the next release.

In regards to the Uploaded on - yes, I will change that text in the next release, as well.

Thanks for all the feedback, Rolf - it is greatly appreciated.

Nullig
uniqu3

Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Post by uniqu3 »

Maybe "Updated on" would be even more reasonable since we "Update all sites" or "Update site"  :)
Regarding my Site where logout doesn't work i have run it with debug on now and this is the error i get on logout:
Fatal error: Call to undefined function mcrypt_module_open() in /var/www/vhosts/lehmaustria.at/httpdocs/modules/SimpleSiteInfo/SimpleSiteInfo.module.php on line 64
Thanks to Rolf for pointing to the error message, since i didn't get any error message there except for blank page so i thought to turn debug on :-)
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Post by Nullig »

Yes, uniqu3, I think "Updated On" would be a better heading.

In regards to your error message - that server probably does not have the mcrypt libraries installed. Can you check with the host?

Nullig
uniqu3

Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Post by uniqu3 »

Oh ok thanks ill check that.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Post by jmcgin51 »

Rolf wrote: Hi Nullig,

Upgrading SimpleSiteInfo module to 0.4beta ends up in:
Fatal error: Call to undefined method SimpleSiteInfo::NB_Encryption() in /public/sites/www.atmytestsite.com/modules/SimpleSite ... graded.php on line 111
However it seems like everything is working fine...
Same issue here; sounds like the fix is already underway.

Also, I have one site that will not report data to the SimpleSiteMgr.  Both the client site and the master site have been upgraded to the .4 release, and I have logged out of the client site.  When I try to update the site in SimpleSiteMgr on the master site, I get an error "Version File Missing!".

However, I can see the siteinfo.txt file in the /tmp directory on the client site, and it has 777 permissions (was 644 by default, but I changed it to 777 in an attempt to resolve the error).

Any ideas?

CMSMS 1.6.7 on the client, CMSMS 1.8.2 on the master.  SimpleSite*** .4 on both.  The client is on a Linux server, the master is on Windows.

Thanks!!
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Post by Nullig »

Are you sure you have the correct URL for the site?
Do you have any redirection via .htaccess?
Can you call the siteinfo.txt file directly in your browser:

http://www.yoursite.com/tmp/siteinfo.txt

Nullig
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Post by jmcgin51 »

hmmmm, yes, I have the correct URL entered for the site, but interestingly I cannot access the file via the browser.  Gives a 404.

In the tmp directory, there is a .htaccess file with the following contents:
php_flag engine off
And in the CMSMS root, an htaccess with the following contents:
# BEGIN Optional settings

# Turns off directory browsing
# not absolutely essential, but keeps people from snooping around without
# needing empty index.html files everywhere
Options -Indexes

# Deny access to config.php
# This can be useful if php ever breaks or dies
# Use with caution, this may break other functions of CMSms that use a config.php
# file.  This may also break other programs you have running under your CMSms
# install that use config.php.  You may need to add another .htaccess file to those
# directories to specifically allow config.php.

order allow,deny
deny from all


# Sets your 403 error document
# not absolutely essential to have,
# or you may already have error pages defined elsewhere
ErrorDocument 403 /forbidden403.shtml

# No sense advertising what we are running
ServerSignature Off

# END Optional Settings

# BEGIN CMSMS and Rewrite Rules
# Make sure you have Options FollowSymLinks
# and Allow on

RewriteEngine On

# Might be needed in a subdirectory
#RewriteBase /

# URL Filtering helps stop some hack attempts
#IF the URI contains a "http:"
RewriteCond %{QUERY_STRING} http\: [OR]
#OR if the URI contains a "["
RewriteCond %{QUERY_STRING} \[ [OR]
#OR if the URI contains a "]"
RewriteCond %{QUERY_STRING} \] [OR]
#OR if the URI contains a ""
RewriteCond %{QUERY_STRING} (\|%3E) [NC,OR]
#OR script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
#OR any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^.*$ - [F,L]
# END Filtering

# CMSMS Rewriting
# Set assume mod_rewrite to true in config.php and clear CMSMS cache
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
# END CMSMS

# END Rewrite rules
Does that help?
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Post by Nullig »

I don't see anything that would prevent access, but something is - if you can't call the file directly, then neither can the script.

Nullig
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Post by jmcgin51 »

right - that makes sense.  hmmm...

ok, thanks.  I'll check with my host.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Post by Nullig »

New Beta version 0.5 released - both SimpleSiteMgr and SimpleSiteInfo. Included in this release:

- link to the Admin area of the monitored sites

Note: you must update the monitored sites with the new SimpleSiteInfo module and then logout of them to create a version info file using the new format. Then you can install the SimpleSiteMgr module and update the sites.

Nullig
nockenfell
Power Poster
Power Poster
Posts: 751
Joined: Fri Sep 12, 2008 2:34 pm

Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Post by nockenfell »

One Problem i had was that allow_url_fopen was off. Check allow_url_fopen:

Code: Select all

ini_get('allow_url_fopen');
Make a error when it's off.
[this message is written with 100% recycled bits]
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo

Post by Rolf »

Upgrading to 0.5 went without problems  :D

What I do notice is a horizontal scroll bar in the admin of the Mgr.
Changing:

Code: Select all

#acc {
...
width: 100%
}
to

Code: Select all

#acc {
...
width: 99%
}
Solves it.

grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “Modules/Add-Ons”