• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Company Directory Error
PostPosted: Sun Dec 08, 2019 7:08 pm 
Offline
Forum Members
Forum Members

Joined: Fri Feb 05, 2016 9:42 pm
Posts: 23
Hi folks,

Any assistance greatly accepted.

Thought I'd fixed the Company Directory issue by managing to remove the older module and installing a clean version of 1.903.

I re-entered all of my Company listing data and on my PC, in Chrome, it all seems to work.

When anyone else views the Directory, or if I use IE, Edge, Firefox etc I get a white page and Server 500 error.

Error log on the server has this error:
\$1:
8-Dec-2019 18:53:45 Europe/London] PHP Fatal error: Uncaught Error: Call to undefined method stdClass::__set_state() in /home/xxxxxx/public_html/xxxxxxxx/tmp/cache/183ff49606a383fb6a7fddcdb83cd25ee1ef9053.CompanyDirectory;orig_categorylist_template.tpl.php:37
Stack trace:
#0 /home/xxxxxxx/public_html/xxxxxxx/lib/smarty/sysplugins/smarty_template_resource_base.php(128): content_5ded467182c196_49922670(Object(CMS_Smarty_Template))
#1 /home/xxxxxxx/public_html/xxxxxxx/lib/smarty/sysplugins/smarty_template_cached.php(136): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(CMS_Smarty_Template))
#2 /home/xxxxxxx/public_html/xxxxxxx/lib/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Template_Cached->render(Object(CMS_Smarty_Template), false)
#3 /home/xxxxxxxx/public_html/xxxxxxxx/lib/smarty/sysplugins/smarty_internal_templatebase.php(216): Smarty_Internal_Template->render(false, 1)
#4 /home/xxxxxxx/public_html/xxxxxxx/lib/smarty/sysplugins/smarty_internal_templatebase.php(122): Smarty_Internal_TemplateBase->_execute(Object(CMS_Smart in /home/xxxxxxx/public_html/xxxxxxx/tmp/cache/183ff49606a383fb6a7fddcdb83cd25ee1ef9053.CompanyDirectory;orig_categorylist_template.tpl.php on line 37


I haven't edited any of the default template files.

Have cleared the site cache, as well as my browser caches etc.

CMSMS v 2.2.10
Php 7.2.25 (as suggested in one post I saw, but if I try going back to 7.1 the whole site gives me a Server 500 error)
MySQL Server version: 10.1.43-MariaDB - MariaDB Server
Protocol version: 10

Any pointers, please, as to where to look to fix this?

Regards,

Simon


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Company Directory Error
PostPosted: Sat Jan 25, 2020 3:38 pm 
Offline
Forum Members
Forum Members

Joined: Fri Feb 05, 2016 9:42 pm
Posts: 23
Still getting this error, if anyone can possibly help???

\$1:
[25-Jan-2020 15:34:55 Europe/London] PHP Fatal error: Uncaught Error: Call to undefined method stdClass::__set_state() in /home/nabd936/public_html/nabdorguk/tmp/cache/183ff49606a383fb6a7fddcdb83cd25ee1ef9053.CompanyDirectory;orig_categorylist_template.tpl.php:37
Stack trace:
#0 /home/nabd936/public_html/nabdorguk/lib/smarty/sysplugins/smarty_template_resource_base.php(128): content_5e2c5ff29bfb16_27871224(Object(CMS_Smarty_Template))
#1 /home/nabd936/public_html/nabdorguk/lib/smarty/sysplugins/smarty_template_cached.php(136): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(CMS_Smarty_Template))
#2 /home/nabd936/public_html/nabdorguk/lib/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Template_Cached->render(Object(CMS_Smarty_Template), false)
#3 /home/nabd936/public_html/nabdorguk/lib/smarty/sysplugins/smarty_internal_templatebase.php(216): Smarty_Internal_Template->render(false, 1)
#4 /home/nabd936/public_html/nabdorguk/lib/smarty/sysplugins/smarty_internal_templatebase.php(122): Smarty_Internal_TemplateBase->_execute(Object(CMS_Smart in /home/nabd936/public_html/nabdorguk/tmp/cache/183ff49606a383fb6a7fddcdb83cd25ee1ef9053.CompanyDirectory;orig_categorylist_template.tpl.php on line 37


Here's my Site Info as well:
----------------------------------------------

Cms Version: 2.2.13

Installed Modules:

AceEditor2: 1.05
AdminSearch: 1.0.4
Album: 1.11
CGActionBar: 1.1.3
CGCalendar: 2.6.2
CGContentUtils: 2.5.4
CGExtensions: 1.65.1
CGFBPost: 1.1.3
CGSimpleSmarty: 2.2.1
CGSmartImage: 1.22.7
CGSnapshot: 1.4
CGSocialBlaster: 1.1
CGTweet: 1.3.2
CGUserDirectory: 1.5.1
CMSContentManager: 1.1.8
CMSMailer: 6.2.14
Captcha: 1.0
CmsJobManager: 0.1.3
CompanyDirectory: 1.907
DesignManager: 1.1.7
EUCookie: 0.3.1
EventsListing: 2.0.2
FAQ: 2.1.1
FileManager: 1.6.10
FilePicker: 1.0.4.1
FormBrowser: 0.5
FormBuilder: 1.0.2
FrontEndUsers: 3.2
Gallery: 2.4.2
JQueryTools: 1.4.2
LISE: 1.3.1
LISERepsList: 1.3.1
LISESlideshow2: 1.3.1
LinkMgr: 2.4
MenuManager: 1.50.3
MicroTiny: 2.2.4
ModuleManager: 2.1.7
Navigator: 1.0.9
News: 2.51.8
Search: 1.51.7
SelfRegistration: 1.14.6
SimpleSiteInfo: 3.5.1
SimpleSiteMgr: 3.6.1
Snippet: 0.2.6
TinyMCE: 3.3.1
TweetMgr: 1.0
Utilities: 1.1.1
Widgets: 1.3

Config Information:

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

Php Information:

phpversion: 7.2.26
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 32759
E_STRICT: 2048
E_DEPRECATED: 8192
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: 120
register_globals: Off (False)
output_buffering: 4096
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 32M
upload_max_filesize: 32M
session_save_path: /tmp (0700)
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: On (True)
smarty_compilecheck: On (True)
auto_clear_cache_age: On (True)
Server Information:

Server Software: Apache
Server Api: litespeed
Server Os: Linux 3.10.0-714.10.2.lve1.4.63.el7.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 10.1.43
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:

tmp: /home/nabd936/public_html/nabdorguk/tmp (0755)
tmp_cache: /home/nabd936/public_html/nabdorguk/tmp/cache (0755)
templates_c: /home/nabd936/public_html/nabdorguk/tmp/templates_c (0755)
modules: /home/nabd936/public_html/nabdorguk/modules (0755)
uploads: /home/nabd936/public_html/nabdorguk/uploads (0755)
File Creation Mask (umask): /home/nabd936/public_html/nabdorguk/tmp/cache (0755)
config_file: 0444
----------------------------------------------


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Company Directory Error
PostPosted: Sun Jan 26, 2020 5:58 pm 
Offline
Forum Members
Forum Members

Joined: Fri Feb 05, 2016 9:42 pm
Posts: 23
Solved it.

And, like the majority of posts, I'm not going to say how.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Company Directory Error
PostPosted: Sun Jan 26, 2020 6:40 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 906
Location: Victoria, BC
Not really sure what the intent of your comment is. Because nobody knew the answer in order to help you, you're going to make sure anyone else running into this problem struggles too?

I respond to a dozen or so posts a week on here, often setting up installs to match the OP's so I can recreate their issues. I wasn't able to recreate your issue so I didn't have an answer for you.

_________________
Not getting the answer you need? CMSMS support options


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Company Directory Error
PostPosted: Sun Jan 26, 2020 10:31 pm 
Offline
Forum Members
Forum Members

Joined: Fri Feb 05, 2016 9:42 pm
Posts: 23
Ok, I apologise, but it's typical of so many posts I see here, stating "I fixed it" but with no solution.

The solution - since it was totally perplexing that I could see the Company Directory page but no one else could - Turn off Caching for the page that holds the tag to call the Directory listing.

I could see the page since Smarty Caching or the "Cachable" Option is disabled by default for Admins, whether that option is ticked for the page or not, so anyone trying to recreate the issue would fall foul of that as well.

From the Smarty Caching Help popup:
\$1:
When enabled, the output from various plugins will be cached to increase performance. Additionally, most portions of compiled templates will be cached. This only applies to output on content pages marked as cachable, and only for non-Admin users. Note, this functionality may interfere with the behaviour of some modules or plugins, or plugins that use non-inline forms.

Note: When smarty caching is enabled, global content blocks (GCBs) are always cached by smarty, and user defined tags (UDTs) are never cached. Additionally, content blocks are never cached.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting