Cannot upload documents 4 years 2 weeks ago #11

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 12:37
  • Europe/Bucharest
  • Posts: 4856
Can you also provide FRONTEND TEST credentials?
thePHPfactory Customer Support
The administrator has disabled public write access.

Cannot upload documents 4 years 2 weeks ago #12

  • OZ Jones
  • Localtime: 12:37
  • Europe/Bucharest
  • Posts: 72
Hello
Without Private messaging you will need to create an account.
iotsecurityinstitute.com/iotsec/index.ph...omprofiler/registers

Thanks
The administrator has disabled public write access.

Cannot upload documents 4 years 2 weeks ago #13

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 12:37
  • Europe/Bucharest
  • Posts: 4856
The ajax request that submits the post returns a 500 error. You can check in the browser's Developer Tools Network tab.

Set Error Reporting to Maximum from Global Configuration and try again. You should now receive an error message for that ajax request (by checking the Network tab) instead of a blank page.
thePHPfactory Customer Support
The administrator has disabled public write access.

Cannot upload documents 4 years 2 weeks ago #14

  • OZ Jones
  • Localtime: 12:37
  • Europe/Bucharest
  • Posts: 72
Hello
I have done as you requested .Cannot see any definitive error.
The following i can see is in a loop.
ixxxxxxx.com/xxxx/media/com_wallfactory/...ts/images/loader.gif

You can check for yourself perhaps I am missing something?
Thanks for you assistance.
Last Edit: 4 years 2 weeks ago by OZ Jones.
The administrator has disabled public write access.

Cannot upload documents 4 years 2 weeks ago #15

  • OZ Jones
  • Localtime: 12:37
  • Europe/Bucharest
  • Posts: 72
Found the following:

Catchable fatal error: Argument 1 passed to WallFactoryFrontendModelPost::throttlePosts() must be an instance of int, string given, called in /home/XXXXX/public_html/XXXX/components/com_wallfactory/models/post.php on line 27 and defined in /home/XXXX/public_html/XXXX/components/com_wallfactory/models/post.php on line 112
Last Edit: 4 years 2 weeks ago by OZ Jones. Reason: site privacy
The administrator has disabled public write access.

Cannot upload documents 4 years 2 weeks ago #16

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 12:37
  • Europe/Bucharest
  • Posts: 4856
Edit components/com_wallfactory/models/post.php and change line
$this->throttlePosts($user->id);
from function submit to:
$this->throttlePosts((int)$user->id);
thePHPfactory Customer Support
The administrator has disabled public write access.

Cannot upload documents 4 years 2 weeks ago #17

  • OZ Jones
  • Localtime: 12:37
  • Europe/Bucharest
  • Posts: 72
If this cannot be easily fixed could you please provide the previous version of the component?
That had no issue with uploading.
Thanks
The administrator has disabled public write access.

Cannot upload documents 4 years 2 weeks ago #18

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 12:37
  • Europe/Bucharest
  • Posts: 4856
Did you try the tweak?
thePHPfactory Customer Support
The administrator has disabled public write access.

Cannot upload documents 4 years 2 weeks ago #19

  • OZ Jones
  • Localtime: 12:37
  • Europe/Bucharest
  • Posts: 72
$this->throttlePosts($user->id);
from function submit to:
$this->throttlePosts((int)$user->id);
yes i have applied the change and i still does not work.
The administrator has disabled public write access.

Cannot upload documents 4 years 2 weeks ago #20

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 12:37
  • Europe/Bucharest
  • Posts: 4856
Comment out or delete that line
$this->throttlePosts($user->id);
thePHPfactory Customer Support
The administrator has disabled public write access.