-
How to edit footer links?
Thanks, I thought they may have been a way like uninstalling/disabling an app.
-
How to edit footer links?
Thanks @Jim M that's sure an easier way to do it. Now I've learnt about the security risks of dev mode, how do I uninstall it from a production site!
-
How to edit footer links?
I'm really not sure as to why you can't enable it from the mod screen, you need to edit your constants.php file. Oddly, you can't even leave the enable debug line commented out in the file as it'll give errors.
-
TypeError: IPS\Http\Url\Friendly::setPage(): Argument #2 ($number) must be of type ?int, string give
@Marc There are hundreds of them, but from quickly looking at the URL requests, it looks like it's due to the requests containing sort parameters which no longer exist in Gallery. Such as sort by image views, image date, last comment, image comments, image caption, image updated etc.
-
TypeError: IPS\Http\Url\Friendly::setPage(): Argument #2 ($number) must be of type ?int, string give
Thanks @Jim sorry do you mean there is an issue in how these are being logged by IPB, or that this is correct in how they are being logged as errors? How can I work out how these URLs are being requested?
-
TypeError: IPS\Http\Url\Friendly::setPage(): Argument #2 ($number) must be of type ?int, string give
Hi @Marc thanks for the help here, I've disabled all 3rd party items and am using a default theme. I still get the same issue.
-
-
TypeError: IPS\Http\Url\Friendly::setPage(): Argument #2 ($number) must be of type ?int, string give
Hi, I"m getting lots of the following errors in my logs, I'm not sure what's cuasing it, any ideas? Thanks in advance. Cheers E.g. The log entry was triggered by a guest (Guests) 1 hour ago The URL of page the error occurred on was https://yamahaclub.com/profile/2971-bornagainbiker/content/?page=1%5Cu0026sortby=image_caption%2BASC,%2Bimage_id%2B%5Cu0026sortdirection=desc%5Cu0026type=gallery_image TypeError: IPS\Http\Url\Friendly::setPage(): Argument #2 ($number) must be of type ?int, string given, called in /home/yamahaclub/htdocs/yamahaclub.com/applications/core/modules/front/members/profile.php on line 611 (0) #0 /home/yamahaclub/htdocs/yamahaclub.com/applications/core/modules/front/members/profile.php(611): IPS\Http\Url\Friendly->setPage() #1 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Controller.php(128): IPS\core\modules\front\members\profile->content() #2 /home/yamahaclub/htdocs/yamahaclub.com/applications/core/modules/front/members/profile.php(130): IPS\Dispatcher\Controller->execute() #3 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Dispatcher.php(169): IPS\core\modules\front\members\profile->execute() #4 /home/yamahaclub/htdocs/yamahaclub.com/index.php(16): IPS\Dispatcher->run() #5 {main} Backtrace #0 /home/yamahaclub/htdocs/yamahaclub.com/init.php(827): IPS\Log::log() #1 [internal function]: IPS\IPS::exceptionHandler() #2 {main}
-
How to edit footer links?
Perfect thanks @beats23 This works great, I'd really had thought that there would have been an easier way to do this.
-
How to edit footer links?
I'm really struggling to work out how to add an additional footer link (e.g where the Privacy Policy, Contact Us, Cookies links are), is the only way to do this to edit the actual footer source code? Thanks
-
ParseError: syntax error, unexpected identifier "nofollow" (0)
Ok, I didn't realise that I needed to escape the "
-
ParseError: syntax error, unexpected identifier "nofollow" (0)
Hi, I get the following error when I add rel="nofollow" to a link within an application. The link is correctly structured and works fine unless I add it. E.g <a href="domain.com">Link to site</a> This breaks <a href="domain.com" rel="nofollow">Link to site</a>
-
[[Template core/global/forms/editorRawV5 is throwing an error.
@Marc thanks for your help, have updated access info.
-
[[Template core/global/forms/editorRawV5 is throwing an error.
Hi, Seem to be having a few issues, I thought they were all resolved until I went to do a test post. I'm seeing the following error instead of the WYSIWG editor. [[Template core/global/forms/editorRawV5 is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] I've tried generating a new theme, I've set it as the default, I've cleared the cache, I've disable any third party plugins and still the same. I've enabled logging but the only error logs which show are for the subscriptions module. Thanks in advance. Well good news the error appears to be coming through now, but still not sure how to resolve. OutOfRangeException::0 #0 /home/yamahaclub/htdocs/yamahaclub.com/system/Helpers/Form/Editor.php(1140): IPS\Patterns\ActiveRecord::load() #1 /home/yamahaclub/htdocs/yamahaclub.com/static/templates/core_global_forms.php(4186): IPS\Helpers\Form\Editor::getMemberRestrictions() #2 /home/yamahaclub/htdocs/yamahaclub.com/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_global_forms->editorRawV5() #3 /home/yamahaclub/htdocs/yamahaclub.com/static/templates/core_global_forms.php(2776): IPS\Theme\SandboxedTemplate->__call() #4 /home/yamahaclub/htdocs/yamahaclub.com/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_global_forms->editor() #5 /home/yamahaclub/htdocs/yamahaclub.com/system/Helpers/Form/Editor.php(348): IPS\Theme\SandboxedTemplate->__call() #6 /home/yamahaclub/htdocs/yamahaclub.com/system/Helpers/Form/FormAbstract.php(307): IPS\Helpers\Form\Editor->html() #7 /home/yamahaclub/htdocs/yamahaclub.com/system/Helpers/Form/FormAbstract.php(273): IPS\Helpers\Form\FormAbstract->rowHtml() #8 /home/yamahaclub/htdocs/yamahaclub.com/static/templates/forums_front_submit.php(325): IPS\Helpers\Form\FormAbstract->__toString() #9 /home/yamahaclub/htdocs/yamahaclub.com/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_submit->createTopicForm() #10 /home/yamahaclub/htdocs/yamahaclub.com/system/Helpers/Form/Form.php(634): IPS\Theme\SandboxedTemplate->__call() #11 /home/yamahaclub/htdocs/yamahaclub.com/applications/forums/modules/front/forums/forums.php(656): IPS\Helpers\Form->customTemplate() #12 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Controller.php(128): IPS\forums\modules\front\forums\forums->add() #13 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute() #14 /home/yamahaclub/htdocs/yamahaclub.com/index.php(16): IPS\Dispatcher->run() #15 {main}
-
HTTP 403 error after upgrading to 5.0.2
Ok resolved, reverted back to backup, did exactly the same and this time no issues. No idea what happened.
-
HTTP 403 error after upgrading to 5.0.2
Hi, I"ve run the upgrade from v4.7.20 to 5.0.2, the upgrade ran fine, I finished all background processes. However the homepage shows a 403 error. I've cleared the cached, tried creating a new default theme, I've tried upgrading to PHP 8.2.2, the support page shows no errors. I've disabled any third party plugins, and I've tried re-adding my licence key. Not sure where to go from here, any advice would be most appreciated. Thanks