Iskander001
-
Posts
46 -
Joined
-
Last visited
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by Iskander001
-
-
I have checked for the template and it seems that we have several templates and we are not sure which one is currently in use. Also, I checked for getimagesize function and was not able to find any of the templates. You can check the below video for the same :
Video: https://www.screencast.com/t/TlBXfOFc
I am not sure where the exact issue is. Would you please guide me here?
-
we are facing an issue with the application since we upgrade as per admin instructions. Now it hampers my business check the error code:
https://dermpathpro.com/spot-diagnosis-1/2023-spot-diagnosis/january-2023/case-4161/
==================
ValueError: Path cannot be empty (0)
#0 /home/dermpathpro/public_html/applications/cms/sources/Theme/Theme.php(610) : eval()'d code(1655): getimagesize('')
#1 /home/dermpathpro/public_html/applications/cms/modules/front/database/record.php(350): IPS\Theme\class_cms_database_spotdiagnisis->record(Object(IPS\cms\Records5), '\n<div data-cont...', NULL, true)
#2 /home/dermpathpro/public_html/system/Dispatcher/Controller.php(118): IPS\cms\modules\front\database\_record->manage()
#3 /home/dermpathpro/public_html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#4 /home/dermpathpro/public_html/applications/cms/sources/Databases/Dispatcher.php(343): IPS\Content\_Controller->execute()
#5 /home/dermpathpro/public_html/system/Theme/Theme.php(4628) : eval()'d code(32): IPS\cms\Databases\_Dispatcher->run()
#6 /home/dermpathpro/public_html/applications/cms/sources/Pages/Page.php(1260): IPS\Theme\content_pages_9()
#7 /home/dermpathpro/public_html/applications/cms/sources/Pages/Page.php(2286): IPS\cms\Pages\_Page->getHtmlContent()
#8 /home/dermpathpro/public_html/applications/cms/modules/front/pages/page.php(116): IPS\cms\Pages\_Page->output()
#9 /home/dermpathpro/public_html/applications/cms/modules/front/pages/page.php(43): IPS\cms\modules\front\pages\_page->view()
#10 /home/dermpathpro/public_html/system/Dispatcher/Controller.php(118): IPS\cms\modules\front\pages\_page->manage()
#11 /home/dermpathpro/public_html/applications/cms/modules/front/pages/page.php(33): IPS\Dispatcher\_Controller->execute()
#12 /home/dermpathpro/public_html/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\front\pages\_page->execute()
#13 /home/dermpathpro/public_html/index.php(13): IPS\_Dispatcher->run()
#14 {main}
================== -
On 2/10/2021 at 2:46 AM, mcsg said:
Thank you @bfarber. To sum up in case others come across this.
In order to display a Custom Field information in a Pages Database, determine the Pages <database_id> (a number) and use the following template code.
In this case, I am iterating over the custom fields that are marked to display above the content ('display_top') in the DatabaseTemplates > RecordDisplay > Record template.
{{foreach $record->customFieldsForDisplay('display_top') as $fieldId => $fieldValue}} <!-- fieldId is the field template identifier --> {{$field = \IPS\cms\Fields<database_id>::load( $fieldId, ‘field_key' );}} <!-- gets the field object --> Template Code: {$fieldId}<br/> Field ID: {$field->_id}<br/> Label: {$field->_title}<br/> Desc: {$field->_description}<br/> OR<br/> Label: {expression="\IPS\Member::loggedIn()->language()->addToStack( 'content_field_' . $field->_id )"}<br/> Desc: {expression="\IPS\Member::loggedIn()->language()->addToStack( 'content_field_' . $field->_id . '_desc' )"}<br/> Value: {$record->customFieldDisplayByKey($fieldId,'processed')|raw} {{endforeach}}
{{$field = \IPS\cms\Fields<database_id>::load( $fieldId, ‘field_key' );}}
In above mentioned line in real example should it be like this:
{{$field = \IPS\cms\Fields12::load( $fieldId, ‘field_key' );}}
-
-
HI Are you still selling this ?
Technical Email Support
in Technical Problems
Posted
Hi,
Please could you assist us to purchase the technical support on our site, www.dermpathpro.com.
We are facing multiple errors on the website, after upgrading it to PHP8, please see attached screenshots.
We request you to please help to fix these as soon as possible, as our business is affected badly.
Looking forward to hearing from you soon.