Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo
Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo
@nockenfell - Well, there's not much point of having an error, as the module won't work without it. I will include a notice in the forge.
@Rolf - done.
Nullig
@Rolf - done.
Nullig
Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo
Nullig - the default .htaccess file in the /tmp directory was causing the problem I reported earlier (unable to access the siteinfo.txt file.
The server is running mod_suexec, and the contents of the .htaccess file were simply:
php_flag engine off
My understanding is that the command above cannot be used with php suexec, only with mod_php. But I still don't understand why turning off PHP parsing for that directory would make the txt file inaccessible.
Anyway, that's what I found.
Another issue I found today:
For some reason, it appears that if the SimpleSiteInfo module on the client site is not compatible with the SimpleSiteMgr module, the Site Admin link in SimpleSiteMgr is rendered as follows:
http://themastersite.com/admin/%3Ctable%3E%3Ctbody%3E%3Ctr%3E%3Cth%20colspan=%273%27%3ECore%20Modules%3C/th%3E%3C/tr%3E%3Ctr%3E%3Cth%20colspan=%273%27%3E%C2%A0%3C/th%3E%3C/tr%3E%3Ctr%3E%3Cth%3EModule%3C/th%3E%3Cth%3EInstalled%20Version%3C/th%3E%3Cth%3EForge%20Version%3C/th%3E%3C/tr%3E%3Ctr%3E%3Ctd%3ECMSMailer%3C/td%3E%3Ctd%3E2.0%3C/td%3E%3Ctd%3E2.0%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EFileManager%3C/td%3E%3Ctd%3E1.0.2%3C/td%3E%3Ctd%3E1.0.2%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EMenuManager%3C/td%3E%3Ctd%3E1.6.5%3C/td%3E%3Ctd%3E1.6.5%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EModuleManager%3C/td%3E%3Ctd%3E1.4%3C/td%3E%3Ctd%3E1.4%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3ENews%3C/td%3E%3Ctd%3E2.10.6%3C/td%3E%3Ctd%3E2.10.6%3C/td%3E%3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3ECompanyDirectory%3C/td%3E%3Ctd%3E1.6.8%3C/td%3E%3Ctd%3E1.6.8%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3ECustomContent%3C/td%3E%3Ctd%3E1.7.3%3C/td%3E%3Ctd%3E1.7.3%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EFormBuilder%3C/td%3E%3Ctd%3E0.6.4%3C/td%3E%3Ctd%3E0.6.4%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EFrontEndUsers%3C/td%3E%3Ctd%3E1.12.2%3C/td%3E%3Ctd%3E1.12.2%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3ELinkMgr%3C/td%3E%3Ctd%3E1.5.1%3C/td%3E%3Ctd%3E1.5.1%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EPostcode%3C/td%3E%3Ctd%3E1.1%3C/td%3E%3Ctd%3E1.1%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EQuestions%3C/td%3E%3Ctd%3E1.0.3%3C/td%3E%3Ctd%3E1.0.3%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EQuotes%3C/td%3E%3Ctd%3E0.1.2%3C/td%3E%3Ctd%3E0.1.2%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3ESimpleSiteInfo%3C/td%3E%3Ctd%3E0.3%3C/td%3E%3Ctd%3E0.3%3C/td%3E%3C/tr%3E%3C/tbody%3E%3C/table%3E
Note that the TLD is the MASTER site (with SimpleSiteMgr installed), not the client site as it should be. Plus all of the other junk...
For sites that are compatible with the SimpleSiteMgr, the Site Admin link is rendered correctly in SimpleSiteMgr. (i.e. www.myclientsite.com/admin)
The server is running mod_suexec, and the contents of the .htaccess file were simply:
php_flag engine off
My understanding is that the command above cannot be used with php suexec, only with mod_php. But I still don't understand why turning off PHP parsing for that directory would make the txt file inaccessible.
Anyway, that's what I found.
Another issue I found today:
For some reason, it appears that if the SimpleSiteInfo module on the client site is not compatible with the SimpleSiteMgr module, the Site Admin link in SimpleSiteMgr is rendered as follows:
http://themastersite.com/admin/%3Ctable%3E%3Ctbody%3E%3Ctr%3E%3Cth%20colspan=%273%27%3ECore%20Modules%3C/th%3E%3C/tr%3E%3Ctr%3E%3Cth%20colspan=%273%27%3E%C2%A0%3C/th%3E%3C/tr%3E%3Ctr%3E%3Cth%3EModule%3C/th%3E%3Cth%3EInstalled%20Version%3C/th%3E%3Cth%3EForge%20Version%3C/th%3E%3C/tr%3E%3Ctr%3E%3Ctd%3ECMSMailer%3C/td%3E%3Ctd%3E2.0%3C/td%3E%3Ctd%3E2.0%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EFileManager%3C/td%3E%3Ctd%3E1.0.2%3C/td%3E%3Ctd%3E1.0.2%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EMenuManager%3C/td%3E%3Ctd%3E1.6.5%3C/td%3E%3Ctd%3E1.6.5%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EModuleManager%3C/td%3E%3Ctd%3E1.4%3C/td%3E%3Ctd%3E1.4%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3ENews%3C/td%3E%3Ctd%3E2.10.6%3C/td%3E%3Ctd%3E2.10.6%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EnuSOAP%3C/td%3E%3Ctd%3E1.0.2%3C/td%3E%3Ctd%3E1.0.2%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EPrinting%3C/td%3E%3Ctd%3E1.1.0%3C/td%3E%3Ctd%3E1.1.0%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3ESearch%3C/td%3E%3Ctd%3E1.6.5%3C/td%3E%3Ctd%3E1.6.5%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EThemeManager%3C/td%3E%3Ctd%3E1.1.1%3C/td%3E%3Ctd%3E1.1.1%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3ETinyMCE%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3E1.5.1%3C/td%3E%3Ctd%3E1.5.1%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EPostcode%3C/td%3E%3Ctd%3E1.1%3C/td%3E%3Ctd%3E1.1%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EQuestions%3C/td%3E%3Ctd%3E1.0.3%3C/td%3E%3Ctd%3E1.0.3%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EQuotes%3C/td%3E%3Ctd%3E0.1.2%3C/td%3E%3Ctd%3E0.1.2%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3ESimpleSiteInfo%3C/td%3E%3Ctd%3E0.3%3C/td%3E%3Ctd%3E0.3%3C/td%3E%3C/tr%3E%3C/tbody%3E%3C/table%3E
Note that the TLD is the MASTER site (with SimpleSiteMgr installed), not the client site as it should be. Plus all of the other junk...
For sites that are compatible with the SimpleSiteMgr, the Site Admin link is rendered correctly in SimpleSiteMgr. (i.e. www.myclientsite.com/admin)
Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo
Nullig - did you further reduce the allowable key length?
On updating one site, I now get this warning:
Warning: mcrypt_generic_init() [function.mcrypt-generic-init]: Key size too large; supplied length: 26, max: 24 in path\wwwroot\182\modules\SimpleSiteMgr\SimpleSiteMgr.module.php on line 86
Warning: mcrypt_ecb() [function.mcrypt-ecb]: Size of key is too large for this algorithm in path\wwwroot\182\modules\SimpleSiteMgr\SimpleSiteMgr.module.php on line 87
I thought the limit was 30 chars, but it seems now like it is 24?
On updating one site, I now get this warning:
Warning: mcrypt_generic_init() [function.mcrypt-generic-init]: Key size too large; supplied length: 26, max: 24 in path\wwwroot\182\modules\SimpleSiteMgr\SimpleSiteMgr.module.php on line 86
Warning: mcrypt_ecb() [function.mcrypt-ecb]: Size of key is too large for this algorithm in path\wwwroot\182\modules\SimpleSiteMgr\SimpleSiteMgr.module.php on line 87
I thought the limit was 30 chars, but it seems now like it is 24?
Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo
That looks like the txt has had the HTML entities converted to Hex. I don't think it's an incompatibility issue.
What db are you using? (mysql, postgre,?)
What encoding?
Are the client sites all using the current version of the SimpleSiteInfo module?
Is the master site using the current version of SimpleSiteMgr?
I have this running on about 35 sites, so far, and have not run across this issue.
Nullig
What db are you using? (mysql, postgre,?)
What encoding?
Are the client sites all using the current version of the SimpleSiteInfo module?
Is the master site using the current version of SimpleSiteMgr?
I have this running on about 35 sites, so far, and have not run across this issue.
Nullig
Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo
Re: key size. I have a max 30 characters set.
I believe that setting is server dependent, i.e. it depends on how mcrypt was set up on that server.
Nullig
I believe that setting is server dependent, i.e. it depends on how mcrypt was set up on that server.
Nullig
Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo
The entities got converted when I copied/pasted into the forum. In the URL they are displayed as HTML entities (, etc.)Nullig wrote: That looks like the txt has had the HTML entities converted to Hex. I don't think it's an incompatibility issue.
MySQLNullig wrote: What db are you using? (mysql, postgre,?)
What encoding?
Are the client sites all using the current version of the SimpleSiteInfo module?
Is the master site using the current version of SimpleSiteMgr?
UTF-8 Unicode
The client sites that ARE updated to current version do not cause this problem in SimpleSiteMgr. The client sites that are NOT updated to current version have the weird admin link.
It's not a huge issue, as it is easily resolved by updating to current. I just thought it was odd.
These modules are awesome, BTW!!
Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo
Ok, I just wondered because the error only started after I updated to .5. .4 and earlier versions did not cause this problem. That's why I thought (think?) that it's related to the module rather than the server.Nullig wrote: Re: key size. I have a max 30 characters set.
I believe that setting is server dependent, i.e. it depends on how mcrypt was set up on that server.
Nullig
Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo
Ah, I see what you're saying about the older version of SimpleSiteInfo not workingg with the new version of SimpleSiteMgr. I though I explained that in the release notes - the format of the info file was changed, so "client" sites needed to be updated before they would work with the new 0.5 version of SimpleSiteMgr.
Re: the key size - The new version uses a different encryption cypher (TRIPLEDES), which has it's own configuration parameters.
On my test sites I have used 30 characters without any problem, but perhaps I should lower the key size to 24, just so others won't encounter this problem.
Nullig
Re: the key size - The new version uses a different encryption cypher (TRIPLEDES), which has it's own configuration parameters.
On my test sites I have used 30 characters without any problem, but perhaps I should lower the key size to 24, just so others won't encounter this problem.
Nullig
Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo
sounds good - thanks!!
Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo
New Stable release version 1.0 is in the forge - both SimpleSiteMgr and SimpleSiteInfo. Included in this release:
- limit the Pass Phrase to 24 characters
- highlight (red) sites that require module updates
Note: you must update the monitored sites with the new SimpleSiteInfo module and then logout of them to create a new version info file - then you can install the SimpleSiteMgr module and update the sites.
Nullig
- limit the Pass Phrase to 24 characters
- highlight (red) sites that require module updates
Note: you must update the monitored sites with the new SimpleSiteInfo module and then logout of them to create a new version info file - then you can install the SimpleSiteMgr module and update the sites.
Nullig
Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo
Upgraded both modules, no problems here...Nullig wrote: New Stable release version 1.0 is in the forge - both SimpleSiteMgr and SimpleSiteInfo.
Reg. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo
New Stable release version 1.1 of SimpleSiteInfo is in the forge. This release fixes the bug where modules installed that were newer than the forge versions were showing as needing updates.
As usual, when you update your remote sites with this module, you'll have to run the Update on the SimpleSiteMgr site to retrieve the newest version file.
Nullig
As usual, when you update your remote sites with this module, you'll have to run the Update on the SimpleSiteMgr site to retrieve the newest version file.
Nullig
Re: Announcement: New modules - SimpleSiteMgr and SimpleSiteInfo
New Stable release version 2.0 is in the forge - both SimpleSiteMgr and SimpleSiteInfo. Included in this release:
- nuSOAP processing moved from the SimpleSiteInfo module to the SimpleSiteMgr module
- dynamic comparison of installed modules to current forge versions
- output format/template is now more multi-language friendly
Note: you must upgrade the monitored sites with the new SimpleSiteInfo module before you upgrade the SimpleSiteMgr module and update the sites you're monitoring.
Nullig
P.S. - many thanks to Rolf for helping out in the testing of the modules.
- nuSOAP processing moved from the SimpleSiteInfo module to the SimpleSiteMgr module
- dynamic comparison of installed modules to current forge versions
- output format/template is now more multi-language friendly
Note: you must upgrade the monitored sites with the new SimpleSiteInfo module before you upgrade the SimpleSiteMgr module and update the sites you're monitoring.
Nullig
P.S. - many thanks to Rolf for helping out in the testing of the modules.
Re: Announcement: New modules - SimpleSiteMgr and SimpleSite
hi Nullig,
I have a reoccurring problem with this module, I have almost everytime the following error message:
All parameters are ok, the pass phrase matches, allow_url_fopen is on, right modules versions, etc.
it doesn't work for no reason, or so it seems. It just worked for 2 of them, don't know why, as I changed nothing.
I have a reoccurring problem with this module, I have almost everytime the following error message:
And also on the site listing page:Version File Pass Phrase incorrect or missing!
which is not the case for a fresh simple site info install.The version file was created with an older version of the SimpleSiteInfo module.
All parameters are ok, the pass phrase matches, allow_url_fopen is on, right modules versions, etc.
it doesn't work for no reason, or so it seems. It just worked for 2 of them, don't know why, as I changed nothing.
Re: Announcement: New modules - SimpleSiteMgr and SimpleSite
@Tomek
Did you logout of the site with the SimpleSiteInfo module installed, so it can create the version file?
Is the version file there (/tmp/siteinfo.txt)?
Nullig
Did you logout of the site with the SimpleSiteInfo module installed, so it can create the version file?
Is the version file there (/tmp/siteinfo.txt)?
Nullig



