[Solved] Error with CGSmartImage
Posted: Tue Sep 15, 2015 1:20 pm
I am running the most recent version of the CMS as well as the up to date modules.
I am receiving this error when viewing the company directory module with an image for the company.
Notice: A required parameter was missing or invalid: src in /dir-to-module/modules/CGSmartImage/action.default.php.
This error shows up in the place where the image would show.
Any help would be appreciated.
<-------------------This is the DEBUG Info...
Debug display of 'CMSModuleDbTemplateResource endCompanyDirectory;summary_Summary':(0.143199) - (usage: 10266856) - (peak: 10299064)
Debug display of 'Fetch module_db_tpl:CompanyDirectory;summary_Summary start':(0.143418) - (usage: 10274448) - (peak: 10304656)
Debug: (0.145674) - (usage: 10498376) - (peak: 10716848)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.146249) - (usage: 10504256) - (peak: 10716848)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug display of 'Fetch module_db_tpl:CompanyDirectory;summary_Summary end':(0.146308) - (usage: 10449448) - (peak: 10716848)
Debug display of 'Fetch module_db_tpl:CompanyDirectory;summary_Summary start':(0.147027) - (usage: 10462392) - (peak: 10716848)
Debug: (0.147666) - (usage: 10535760) - (peak: 10727368)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.148181) - (usage: 10541384) - (peak: 10735552)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.148709) - (usage: 10551024) - (peak: 10741792)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.149204) - (usage: 10556120) - (peak: 10750888)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.149712) - (usage: 10565760) - (peak: 10756440)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.150204) - (usage: 10570792) - (peak: 10765480)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug display of 'Fetch module_db_tpl:CompanyDirectory;summary_Summary end':(0.15026) - (usage: 10516784) - (peak: 10765480)
Debug display of 'Fetch module_db_tpl:CompanyDirectory;summary_Summary start':(0.150899) - (usage: 10531816) - (peak: 10765480)
Debug: (0.151532) - (usage: 10606104) - (peak: 10789296)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.152042) - (usage: 10611728) - (peak: 10805728)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.152597) - (usage: 10621368) - (peak: 10812120)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.153104) - (usage: 10626400) - (peak: 10821544)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.153627) - (usage: 10636184) - (peak: 10827712)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.154138) - (usage: 10641216) - (peak: 10836864)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.154716) - (usage: 10650856) - (peak: 10842536)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.155232) - (usage: 10655888) - (peak: 10851864)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
<-----------------------This is the CMS Info
Cms Version: 2.0
Installed Modules:
CMSMailer: 5.2.4
FileManager: 1.5
MenuManager: 1.50
ModuleManager: 2.0
News: 2.50
Printing: 1.1.2
Search: 1.50
ThemeManager: 1.1.8
TinyMCE: 2.9.12
Showtime: 3.4
CMSForms: 1.11.2
CGExtensions: 1.49.7
ExtendedTools: 1.3.3
Analytics: 1.1
AdminSearch: 1.0
MicroTiny: 2.0
FormBuilder: 0.8.1.1
Captcha: 0.5.2
GAMadeSimple: 1.2
CGUserDirectory: 1.4.6
JQueryTools: 1.3.7
FrontEndUsers: 1.29
AceEditor: 1.0
CGSimpleSmarty: 2.0.1
CGSmartImage: 1.20.3
CompanyDirectory: 1.22.11
CMSContentManager: 1.0
DesignManager: 1.0
Navigator: 1.0
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: America/Chicago
permissive_smarty: false
Php Information:
phpversion: 5.5.27
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 2048
E_DEPRECATED: 8192
test_file_timedifference:
test_db_timedifference:
memory_limit: 256M
max_execution_time: 120
output_buffering: 4096
file_uploads: On (True)
post_max_size: 64M
upload_max_filesize: 64M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: On (True)
smarty_compilecheck: Off (False)
smarty_cache_udt: On (True)
auto_clear_cache_age: Off (False)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.42
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No file system time difference found
I am receiving this error when viewing the company directory module with an image for the company.
Notice: A required parameter was missing or invalid: src in /dir-to-module/modules/CGSmartImage/action.default.php.
This error shows up in the place where the image would show.
Any help would be appreciated.
<-------------------This is the DEBUG Info...
Debug display of 'CMSModuleDbTemplateResource endCompanyDirectory;summary_Summary':(0.143199) - (usage: 10266856) - (peak: 10299064)
Debug display of 'Fetch module_db_tpl:CompanyDirectory;summary_Summary start':(0.143418) - (usage: 10274448) - (peak: 10304656)
Debug: (0.145674) - (usage: 10498376) - (peak: 10716848)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.146249) - (usage: 10504256) - (peak: 10716848)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug display of 'Fetch module_db_tpl:CompanyDirectory;summary_Summary end':(0.146308) - (usage: 10449448) - (peak: 10716848)
Debug display of 'Fetch module_db_tpl:CompanyDirectory;summary_Summary start':(0.147027) - (usage: 10462392) - (peak: 10716848)
Debug: (0.147666) - (usage: 10535760) - (peak: 10727368)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.148181) - (usage: 10541384) - (peak: 10735552)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.148709) - (usage: 10551024) - (peak: 10741792)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.149204) - (usage: 10556120) - (peak: 10750888)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.149712) - (usage: 10565760) - (peak: 10756440)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.150204) - (usage: 10570792) - (peak: 10765480)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug display of 'Fetch module_db_tpl:CompanyDirectory;summary_Summary end':(0.15026) - (usage: 10516784) - (peak: 10765480)
Debug display of 'Fetch module_db_tpl:CompanyDirectory;summary_Summary start':(0.150899) - (usage: 10531816) - (peak: 10765480)
Debug: (0.151532) - (usage: 10606104) - (peak: 10789296)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.152042) - (usage: 10611728) - (peak: 10805728)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.152597) - (usage: 10621368) - (peak: 10812120)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.153104) - (usage: 10626400) - (peak: 10821544)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.153627) - (usage: 10636184) - (peak: 10827712)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.154138) - (usage: 10641216) - (peak: 10836864)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.154716) - (usage: 10650856) - (peak: 10842536)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
Debug: (0.155232) - (usage: 10655888) - (peak: 10851864)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1442323083,0,'',-1,'CGSmartImage','A required parameter was missing or invalid: src','')
<-----------------------This is the CMS Info
Cms Version: 2.0
Installed Modules:
CMSMailer: 5.2.4
FileManager: 1.5
MenuManager: 1.50
ModuleManager: 2.0
News: 2.50
Printing: 1.1.2
Search: 1.50
ThemeManager: 1.1.8
TinyMCE: 2.9.12
Showtime: 3.4
CMSForms: 1.11.2
CGExtensions: 1.49.7
ExtendedTools: 1.3.3
Analytics: 1.1
AdminSearch: 1.0
MicroTiny: 2.0
FormBuilder: 0.8.1.1
Captcha: 0.5.2
GAMadeSimple: 1.2
CGUserDirectory: 1.4.6
JQueryTools: 1.3.7
FrontEndUsers: 1.29
AceEditor: 1.0
CGSimpleSmarty: 2.0.1
CGSmartImage: 1.20.3
CompanyDirectory: 1.22.11
CMSContentManager: 1.0
DesignManager: 1.0
Navigator: 1.0
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: America/Chicago
permissive_smarty: false
Php Information:
phpversion: 5.5.27
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 2048
E_DEPRECATED: 8192
test_file_timedifference:
test_db_timedifference:
memory_limit: 256M
max_execution_time: 120
output_buffering: 4096
file_uploads: On (True)
post_max_size: 64M
upload_max_filesize: 64M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: On (True)
smarty_compilecheck: Off (False)
smarty_cache_udt: On (True)
auto_clear_cache_age: Off (False)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.42
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No file system time difference found