CGCalendar - Admin Page

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
cwalker7007
New Member
New Member
Posts: 5
Joined: Thu Apr 04, 2019 8:38 am

CGCalendar - Admin Page

Post by cwalker7007 »

Hi All,

When going to add events/view the calendar from the back end I am presented with the following:
Capture.PNG
Capture.PNG (7.71 KiB) Viewed 2991 times
There has been no recent updates, I have cleared the cache both via the front end and via FTP both to no success.

I have uninstalled & Reinstalled again - no luck.

Any Ideas?

Code: Select all

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

Cms Version: 2.2.10

Installed Modules:

AdminSearch: 1.0.4
CGCalendar: 2.6
CGExtensions: 1.62.8
CGSimpleSmarty: 2.2.1
CMSContentManager: 1.1.7
CMSExcel: 0.0.1
CMSMailer: 6.2.14
Captcha: 1.0
CmsJobManager: 0.1.3
DesignManager: 1.1.6
FileManager: 1.6.8
FilePicker: 1.0.4
FormBrowser: 0.5
FormBuilder: 0.8.1.6
FrontEndUsers: 2.14.2
JQueryTools: 1.4.2
LISE: 1.3.1
LISEBookings: 1.2.1.1
LISETRCarriages: 1.3.1
LISETRLocomotives: 1.3.1
LISETimetables: 1.3.1
MenuManager: 1.50.3
MicroTiny: 2.2.4
ModuleManager: 2.1.6
Navigator: 1.0.9
News: 2.51.5
SMSG: 0.9
SQLReport: 1.0
Search: 1.51.6
SelfRegistration: 1.14.4
Showtime: 3.4
Showtime2: 3.6.3

Config Information:

php_memory_limit:
max_upload_size: 64000000
url_rewriting: none
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/London
permissive_smarty: false

Php Information:

phpversion: 7.2.17
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 22519
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 30
register_globals: Off (False)
output_buffering: 4096
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 64M
upload_max_filesize: 64M
session_save_path: /home/sites/tanfield-railway.co.uk/tmp/ (0755)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:

allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: On (True)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)
Server Information:

Server Software: Apache/2.4.39 (Unix)
Server Api: cgi-fcgi
Server Os: Linux 2.6.32-754.2.1.el6.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 10.1.27
Server Db Grants: Could not find a suitable "GRANT ALL" permission, this does not necessarily lead to problems... But if you have problems installing/removing modules or adding and deleting items/pages this could be the cause!

Permission Information:

tmp: /home/sites/tanfield-railway.co.uk/public_html/tmp (0755)
tmp_cache: /home/sites/tanfield-railway.co.uk/public_html/tmp/cache (0755)
templates_c: /home/sites/tanfield-railway.co.uk/public_html/tmp/templates_c (0755)
modules: /home/sites/tanfield-railway.co.uk/public_html/modules (0755)
uploads: /home/sites/tanfield-railway.co.uk/public_html/uploads (0755)
File Creation Mask (umask): /home/sites/tanfield-railway.co.uk/public_html/tmp/cache (0755)
config_file: 0444
----------------------------------------------
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: CGCalendar - Admin Page

Post by DIGI3 »

Anything in the javascript console or error logs?
Not getting the answer you need? CMSMS support options
cwalker7007
New Member
New Member
Posts: 5
Joined: Thu Apr 04, 2019 8:38 am

Re: CGCalendar - Admin Page

Post by cwalker7007 »

Nothing in either.
cwalker7007
New Member
New Member
Posts: 5
Joined: Thu Apr 04, 2019 8:38 am

Re: CGCalendar - Admin Page

Post by cwalker7007 »

J/S Console Log:

moduleinterface.php?mact=CGCalendar,m1_,defaultadmin,0&__c=24402c590d272d75b56:66 Uncaught ReferenceError: $ is not defined
at moduleinterface.php?mact=CGCalendar,m1_,defaultadmin,0&__c=24402c590d272d75b56:66
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: CGCalendar - Admin Page

Post by DIGI3 »

That means jQuery isn't loaded, or is loaded after the CGCalendar scripts. Inspect the source of your frontend page to determine which.
Not getting the answer you need? CMSMS support options
kkreitz
Forum Members
Forum Members
Posts: 48
Joined: Fri Jun 25, 2010 3:06 am

Re: CGCalendar - Admin Page

Post by kkreitz »

"That means jQuery isn't loaded, or is loaded after the CGCalendar scripts. Inspect the source of your frontend page to determine which."

I am having the same error message and issue.

If the frontend page referred to above is the page template then I have {cms_jquery} in the header and the CGCalendar Scripts follow after in the body.

If the frontend page is the admin page referenced in the picture above, then the source shows JQuery loading first and CGCalendar scripts after that.

However if the frontend page is something else, it would be much appreciated, if you could tell me what it is and/or where to find it.

Thank you
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: CGCalendar - Admin Page

Post by DIGI3 »

Sorry, I didn't mean frontend page - just page.

Something is interfering, that error message means jquery hasn't been defined yet. Test in incognito mode, make sure it isn't a browser plugin or cache messing things up.
Not getting the answer you need? CMSMS support options
kkreitz
Forum Members
Forum Members
Posts: 48
Joined: Fri Jun 25, 2010 3:06 am

Re: CGCalendar - Admin Page

Post by kkreitz »

Thank you. I tested it in 3 different browsers with cleared cache in incognito mode, and got the same, see attached image.

When I click on any of the menu items, for instance, Add event, I get the full styled display as it should be.

In looking at the underlying source code of each, the first unstyled page has no header with java script and a few divs at the bottom, while the Add Event page has html with a complete header that includes, style, jquery, etc..

I'm at a loss.
Attachments
Screenshot 2019-05-11 23.59.43.jpg
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: CGCalendar - Admin Page

Post by DIGI3 »

Any chance your server has mod_security installed?
Not getting the answer you need? CMSMS support options
kkreitz
Forum Members
Forum Members
Posts: 48
Joined: Fri Jun 25, 2010 3:06 am

Re: CGCalendar - Admin Page

Post by kkreitz »

Yes mod_security is installed.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: CGCalendar - Admin Page

Post by DIGI3 »

...if you disable mod_security and reload this page, does it work?
Not getting the answer you need? CMSMS support options
kkreitz
Forum Members
Forum Members
Posts: 48
Joined: Fri Jun 25, 2010 3:06 am

Re: CGCalendar - Admin Page

Post by kkreitz »

Unfortunately I disabled it and tested, with same results as before!
kkreitz
Forum Members
Forum Members
Posts: 48
Joined: Fri Jun 25, 2010 3:06 am

Re: CGCalendar - Admin Page

Post by kkreitz »

This issue is shown at:
http://dev.cmsmadesimple.org/bug/view/11959

The Workaround is:
Fixed by downgrading to CGExtensions 1.62.3.

Thank you for your help!
cwalker7007
New Member
New Member
Posts: 5
Joined: Thu Apr 04, 2019 8:38 am

Re: CGCalendar - Admin Page

Post by cwalker7007 »

Upgraded CGExtensions to 1.62.9
This resolved the issue
Post Reply

Return to “Modules/Add-Ons”