Cory_DSL
-
Posts
18 -
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 Cory_DSL
-
-
9 minutes ago, Marc Stridgen said:
This has actually been flagged for a developer, as you can no longer get to the login screen
So you're saying that your software doesn't support editing the login page anymore? 🤔
-
Day 3 of looking for information that should be covered in basic documentation.
-
2 minutes ago, Nathan Explosion said:
Open an incognito/private tab/window.
But then you're not logged in so you can't edit the block... and when you login... you can't go to /login/ because you're... logged in....
-
Here is a fun facebook meme I found: https://d.pr/i/aVTtel
Will poke around in the settings some more. -
How do you view the login page when you're logged in? You can't go to /login/ without being redirected.
-
-
Looking for how to edit the existing blocks that are on the login page. Which setting is it?
-
Turns out the module controller class doesn't have:
public static $csrfProtected = true;
when created via Developer Center, so I added it.
The file system/Dispatcher/Admin.php checks if the class is csrfProtected, if not then it will do a session check:
/* Unless there is a flag telling us we have specifically added CSRF checks, assume any AdminCP action which contains more than app/module/controller/id (i.e. anything with "do") requires CSRF-protection */ if ( !isset( $this->classname::$csrfProtected ) and array_diff( array_keys( \IPS\Request::i()->url()->queryString ), array( 'app', 'module', 'controller', 'id' ) ) ) { \IPS\Session::i()->csrfCheck(); }
Which then causes the Error -200.
For the record, the error that I'm experiencing is from the admin's side. I haven't tried the upload feature from the front side, so I'm not sure if this solution is applicable to other Error -200 issues. Hope this helps if others are experiencing it.
-
Noted on this @Jock3r. I have only been trying to upload an image which is about 32KB though. Will definitely check the logs. Thanks!
-
I have a form in the admin side, with an Upload field. I can't debug or pinpoint where the error is. Same issue with attaching an image in an Editor field.
Error: Sorry, an unknown server error occurred when uploading this file. (Error code: -200)
$form = new \IPS\Helpers\Form('form'); $form->add(new \IPS\Helpers\Form\Upload( 'acp_points_earnpoints__field_photo', // name $earnPoint->photo ? \IPS\File::get('dslambassador_earnPoints', $earnPoint->photo) : null, // defaultValue false, // required array( 'image' => array( 'maxWidth' => 200, 'maxHeight' => 200, ), 'allowedFileTypes' => array('jpeg', 'jpg', 'png', 'gif'), 'allowStockPhotos' => true, 'storageExtension' => 'dslambassador_EarnPoints', ), // options null, // customValidationCode null, // prefix null, // suffix 'acp_points_earnpoints__field_photo', // id )); if ($values = $form->values()) { $earnPoint = new \IPS\dslambassador\Models\EarnPoint; $earnPoint->name = $values['acp_points_earnpoints__field_name']; $earnPoint->photo = $values['acp_points_earnpoints__field_photo'] ? (string) $values['acp_points_earnpoints__field_photo'] : null; $earnPoint->save(); }
-
1 hour ago, Daniel F said:
Please submit a ticket so that we can take a look at this.
We did a few days ago and Rhett said the same thing as above. -
12 hours ago, Rhett said:
Via FTP or a hosting side control panel normally has a file manager as well you can use.
I'm pretty sure that it's hosted by IPB and we don't have FTP access.
-
How do you delete the folder? Only file manager I see is for attachments.
-
We had a developer create an app that integrates Infusionsoft with our IPB a few years ago.
We uninstalled the app a few years ago, but we were told yesterday that it is still sending "thousands" of calls per second to our Infusionsoft account. Here is the call that is being sent to Infusionsoft:
http://www.fastbusinessforum.com/applications/fbfinfusionsoft/interface/resthook.php
The app name was fbfinfusionsoft. When we go to the applications this application is no longer installed: https://d.pr/i/K1SCAS
What am I missing? How do I disable this from sending the calls to Infusionsoft?
How do you edit the blocks on the login page?
in Technical Problems
Posted
It's ok. We got it updated directing people to Discord.