[Solved] FrontEndUsers module crashes whole site on install

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
jmmpc
Forum Members
Forum Members
Posts: 13
Joined: Wed Nov 10, 2010 8:31 am

[Solved] FrontEndUsers module crashes whole site on install

Post by jmmpc »

Hi

I have a site which now requires the FrontEndUsers module so that I can password protect some pages.

The site is running CMSMS v1.11.7
CGExtensions v1.37.2

As soon as I install the FrontEndUsers v1.21.18 module from the Module Manager it says it is installed correctly, but then if I try to browse to any other admin page I get a page "not displayed message". If I then try to browse the live website itself, the whole thing is down and get a page not found. This means I can't access any admin, or any live site content.

This happened a few months ago, and I eventually gave up trying to get it installed, but now I really need the password protected sections of the site so I am trying again.

After each attempt at installing I eventually have to restore the site files from the backup.tar (that I made before installing the module) and then start again.

System Information shows green ticks against every area and I'm now at a loss as to what to check next....

Thanks
James
Last edited by jmmpc on Fri Aug 16, 2013 3:09 pm, edited 1 time in total.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: FrontEndUsers module crashes whole site on install

Post by Jo Morg »

I would venture saying that you have PHP version 5.2.x and FEU needs 5.3 or higher. But we need more info...
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
jmmpc
Forum Members
Forum Members
Posts: 13
Joined: Wed Nov 10, 2010 8:31 am

Re: FrontEndUsers module crashes whole site on install

Post by jmmpc »

Hi

My Current PHP Version (phpversion) is 5.3.3

The FEU Module says it depends on:
CMSMailer => 1.73.9
CGExtensions => 1.36

I have:
CMSMailer 5.2.1
CGExtensions 1.37.2

I have also tried installing the FEU module through the XML upload option, but again, this said it was installed, but then when activating it crashed the admin and the live site - had to restore from the backup again.

The annoying thing is that I don't get an error message to try and trace the problem, the whole CMS just crashes which is strange.
I've been using CMSMS versions for years, and never encountered a problem like this - although this is the first time I'm using the FEU module.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: FrontEndUsers module crashes whole site on install

Post by Jo Morg »

jmmpc wrote:The annoying thing is that I don't get an error message to try and trace the problem
A few tips and methods to try get more info: http://docs.cmsmadesimple.org/troubleshooting/tips
Otherwise it's just a guessing game...
Also, there is a link on the system info page, on the admin side, that presents a list of info ready to be pasted here...
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
jmmpc
Forum Members
Forum Members
Posts: 13
Joined: Wed Nov 10, 2010 8:31 am

Re: FrontEndUsers module crashes whole site on install

Post by jmmpc »

Ok, here's the copy from System Info
----------------------------------------------
Cms Version: 1.11.7
Installed Modules:
CMSMailer: 5.2.1
FileManager: 1.4.3
MenuManager: 1.8.5
ModuleManager: 1.5.5
News: 2.12.12
Printing: 1.1.2
Search: 1.7.8
ThemeManager: 1.1.8
MicroTiny: 1.2.5
Cataloger: 0.11.3
EventsListing: 1.6.2
CGExtensions: 1.37.2
SiteMapMadeSimple: 1.2.7
CMSPrinting: 1.0.4

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 128000000
url_rewriting: mod_rewrite
page_extension: /
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.3.3
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 60
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 16M
upload_max_filesize: 128M
session_save_path: /var/lib/php/session (1733)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.69
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

----------------------------------------------

I have now enabled the debug line in the config.php file and I am given the following error when trying to browse to the website

Fatal error: Class 'CGExtensions' not found in /var/www/vhosts/mydomain.co.uk/modules/FrontEndUsers/FrontEndUsers.module.php on line 41

Does that give anyone any clues? Line 41 is the first line that actually starts to contain some php in the given file. It starts with a {

Thanks
James.
jmmpc
Forum Members
Forum Members
Posts: 13
Joined: Wed Nov 10, 2010 8:31 am

Re: FrontEndUsers module crashes whole site on install

Post by jmmpc »

Excellent, that appears to have sorted the problem, I have now been able to password protect standard pages of the site.

On a slightly different issue (not sure if I should start a new thread).

I'm also using the cataloger module on this site, and I'd like to password protect some of those pages, but they are selected as Content Type: Category page (obviously to enable the category functions). So I can't switch them to "Protected Page" to enable the features of FEU.

Do you know of a way around this?

Thanks
James
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: FrontEndUsers module crashes whole site on install

Post by Jo Morg »

jmmpc wrote:On a slightly different issue (not sure if I should start a new thread).I'm also using the cataloger module on this site, and I'd like to password protect some of those pages, but they are selected as Content Type: Category page (obviously to enable the category functions). So I can't switch them to "Protected Page" to enable the features of FEU. Do you know of a way around this?
Well I think, normally, you should... however I'll answer this anyway, as it shouldn't be difficult.

The only way I think of is by installing the CustomContent module, so that on the sub-templates of Cataloger you can use a conditional test such as:

Code: Select all

{if ccuser->loggedin()}
  <!-- user can see this content -->
{else}
  <!-- guest can see this content -->
{/if}
 
CustomContent allows for more FEU related tests, you'd have to read the module's help, but I believe you'll be able to do do whatever you need.

If solved, please insert [Solved] on the title of the 1st post. :)
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
jmmpc
Forum Members
Forum Members
Posts: 13
Joined: Wed Nov 10, 2010 8:31 am

Re: [Solved] FrontEndUsers module crashes whole site on inst

Post by jmmpc »

Great, thanks Jo.

I'll will give that a look.
User avatar
map_1961
Power Poster
Power Poster
Posts: 406
Joined: Fri Apr 20, 2007 7:26 pm

Re: [Solved] FrontEndUsers module crashes whole site on inst

Post by map_1961 »

Hi Jo Morg - thx for yr reply to my post
http://forum.cmsmadesimple.org/viewtopi ... 45#p305745

But i don't see any solution in here 4 the Problem reportet....

Thx 4 more Details

map_1961
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: [Solved] FrontEndUsers module crashes whole site on inst

Post by Jo Morg »

Well, that just means someone deleted my post with a solution. Sorry.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
User avatar
map_1961
Power Poster
Power Poster
Posts: 406
Joined: Fri Apr 20, 2007 7:26 pm

Re: [Solved] FrontEndUsers module crashes whole site on inst

Post by map_1961 »

Hmmmm -where 2 find now?

Thx
map
chandra

Re: [Solved] FrontEndUsers module crashes whole site on inst

Post by chandra »

Jo Morg wrote:Well, that just means someone deleted my post with a solution. Sorry.
Why that?

Is it forbidden to help and to bugfix here?
User avatar
map_1961
Power Poster
Power Poster
Posts: 406
Joined: Fri Apr 20, 2007 7:26 pm

Re: [Solved] FrontEndUsers module crashes whole site on inst

Post by map_1961 »

I really don't understand what's going on in here.

It's the best Forum ever.

Yours

MAP
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: [Solved] FrontEndUsers module crashes whole site on inst

Post by Jo Morg »

map_1961 wrote:I really don't understand what's going on in here.
chandra wrote:
Jo Morg wrote:Well, that just means someone deleted my post with a solution. Sorry.
Why that?

Is it forbidden to help and to bugfix here?
Well... no!
There is a rule: http://forum.cmsmadesimple.org/viewtopi ... 40&t=28132

I assumed that: as my fix wasn't exactly a hack as such. The code I posted was on earlier versions of the module/s affected, and, because there is a bug that is not yet fixed (afaik), and most importantly that my fix would be cleared by any upgrade made to the module (supposedly by the time the bug was fixed), as I was saying I assumed that all this would be taken into consideration. Well, it seems that the post(s) broke the rules.

Well maybe my English was a bit too confusing at the paragraph above, but you get the picture. My apologies.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
chandra

Re: [Solved] FrontEndUsers module crashes whole site on inst

Post by chandra »

It's a really strange view on open source software :+( ...
Post Reply

Return to “Modules/Add-Ons”