CMS Made Simple Forums
https://forum.cmsmadesimple.org/

CGCalendar - Admin Page
https://forum.cmsmadesimple.org/viewtopic.php?f=7&t=80783
Page 1 of 1

Author:  cwalker7007 [ Sat May 04, 2019 1:48 pm ]
Post subject:  CGCalendar - Admin Page

Hi All,

When going to add events/view the calendar from the back end I am presented with the following:
$1:
Capture.PNG
Capture.PNG [ 7.71 KiB | Viewed 559 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?

\$1:
----------------------------------------------

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
----------------------------------------------

Author:  DIGI3 [ Sat May 04, 2019 2:59 pm ]
Post subject:  Re: CGCalendar - Admin Page

Anything in the javascript console or error logs?

Author:  cwalker7007 [ Sat May 04, 2019 3:35 pm ]
Post subject:  Re: CGCalendar - Admin Page

Nothing in either.

Author:  cwalker7007 [ Sat May 04, 2019 3:39 pm ]
Post subject:  Re: CGCalendar - Admin Page

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

Author:  DIGI3 [ Sun May 05, 2019 12:04 am ]
Post subject:  Re: CGCalendar - Admin Page

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

Author:  kkreitz [ Sun May 12, 2019 2:19 am ]
Post subject:  Re: CGCalendar - Admin Page

"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

Author:  DIGI3 [ Sun May 12, 2019 2:50 am ]
Post subject:  Re: CGCalendar - Admin Page

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.

Author:  kkreitz [ Sun May 12, 2019 5:06 am ]
Post subject:  Re: CGCalendar - Admin Page

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
Screenshot 2019-05-11 23.59.43.jpg [ 21.72 KiB | Viewed 443 times ]

Author:  DIGI3 [ Sun May 12, 2019 2:30 pm ]
Post subject:  Re: CGCalendar - Admin Page

Any chance your server has mod_security installed?

Author:  kkreitz [ Sun May 12, 2019 4:07 pm ]
Post subject:  Re: CGCalendar - Admin Page

Yes mod_security is installed.

Author:  DIGI3 [ Sun May 12, 2019 5:46 pm ]
Post subject:  Re: CGCalendar - Admin Page

...if you disable mod_security and reload this page, does it work?

Author:  kkreitz [ Sun May 12, 2019 7:10 pm ]
Post subject:  Re: CGCalendar - Admin Page

Unfortunately I disabled it and tested, with same results as before!

Author:  kkreitz [ Sun May 12, 2019 7:44 pm ]
Post subject:  Re: CGCalendar - Admin Page

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!

Author:  cwalker7007 [ Thu May 16, 2019 5:08 pm ]
Post subject:  Re: CGCalendar - Admin Page

Upgraded CGExtensions to 1.62.9
This resolved the issue

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/