Not working at all now
-
Im seeing the following error (sanitised)
Warning: file_get_contents(https://services2.iptanus.com/wp-admin/admin-ajax.php): failed to open stream: Connection timed out in /var/sites/s/xxx.xxx/public_html/wp-content/plugins/wordpress-file-upload-pro/lib/wfu_functions.php on line 2399
Any Ideas?
-
I’m being impatient I know, but any ideas from anyone? I have uninstalled the plugin and re-installed but I still see the same error, plus I also see the following errors when I try to use the Clean Log option.
Warning: Missing argument 2 for wpdb::prepare(), called in /var/sites/s/signsandimaging.com/public_html/wp-content/plugins/wordpress-file-upload-pro/lib/wfu_admin_maintenance.php on line 107 and defined in /var/sites/s/xxxxxx.xxx/public_html/wp-includes/wp-db.php on line 1285
Warning: Missing argument 2 for wpdb::prepare(), called in /var/sites/s/signsandimaging.com/public_html/wp-content/plugins/wordpress-file-upload-pro/lib/wfu_admin_maintenance.php on line 108 and defined in /var/sites/s/xxxxxx.xxx/public_html/wp-includes/wp-db.php on line 1285
Warning: Missing argument 2 for wpdb::prepare(), called in /var/sites/s/signsandimaging.com/public_html/wp-content/plugins/wordpress-file-upload-pro/lib/wfu_admin_maintenance.php on line 109 and defined in /var/sites/s/xxxxxx.xxx/public_html/wp-includes/wp-db.php on line 1285
The whole thing is not working ??
-
This reply was modified 8 years, 4 months ago by
Vovi.
Hi, yes this is a very weird warning coming up the last 2 months on some users. It will affect some functionalities of the professional version.
One user managed to resolve this issue by increasing the memory limit of WordPress. Can you try it?
Regards
Nickolas
I upped the WP memory limit from 32MB to 64MB but it hasn’t fixed the errors.
It does appear to be functioning though. My issue was file uploads failing but that appears to be PHP7 realted. Changing back to 5.6 and I have it all working, so the error messages seem like red herrings.
I would rather have PHP7 working of course, but I can live with it for now.
My main issue now is not being able to activate Dropbox. The ‘Press Here’ button does nothing. Is there another way to connect the App to Dropbox?
Well there is actually, but it compromises Dropbox policy. The plugin communicates securely with https://services2.iptanus.com to get the secret keys of Dropbox application, required to activate Dropbox.
However, for some reason, your server cannot communicate with it. This is the first warning you showed me. This error appeared 2 months on some users, however I haven’t managed to resolve it yet, because in my environment everything works fine and I cannot reproduce it.
I suspect that it has to do with security settings of some web servers. Can you ask your host if they can help you with this error? Warning: file_get_contents(https://services2.iptanus.com/wp-admin/admin-ajax.php): failed to open stream: Connection timed out in /var/sites/s/xxx.xxx/public_html/wp-content/plugins/wordpress-file-upload-pro/lib/wfu_functions.php on line 2399
This would help me a lot to resolve the problem.
An alternative solution is to include the secret keys of Dropbox inside the plugin. This is not a recommended practice, as Dropbox has informed me, however it does not require to communicate with services2.iptanus.com, so Dropbox will work. This solution requires to send you a file of the plugin.
Regards
Nickolas
HI,
Ok, I have raised a ticket with the host. I suspect they will deny all knowledge and blame the plugin, but it is worth a try, so fingers crossed. I will let you know.
I’m willing to try the alternate solution too though if that’s possible?
Thanks.
Hi Nickolas,
My host has come back to me and said that the call is timing out.
They have created a custom php.ini file and increased max_execution_time to 3000
This doesn’t appear to have fixed it though. In the Chrome Console I still see the error
“Failed to load resource: the server responded with a status of 500 (Internal Server Error)”David.
I have also contacted my own host and asked whether they are rejecting calls for some reason. They said that the problem is not on my side.
Please open a new tab in your browser (Chrome or Firefox) and press F12, to open Dev Console. Then open the URL https://services2.iptanus.com/wp-admin/admin-ajax.php in the tab. Do you see any errors in the Dev Console (500 error or something like that)?
Then please try the same with https://services2.iptanus.com.
I try to understand where is the error. Regarding the alternative solution, please send me an email to [email protected] so that I can send you an attachment.
Nickolas
I have gone back to my host and given them admin access to the site to allow them to click the button and hopefully trace the problem. I will let you know their results.
I can see no errors when I go to those URLs directly. Its only when pressing the button that it falls over.
I will send the email regarding the alternate solution – thanks.
Hi, any news about the issue? have you resolved it?
Yes, you helped me resolve it by giving me the amended script with the built in API Keys.
I do still have a problem with PHP7 though. Files will only upload successful when I drop the PHP version down to 5.6 or lower. Its a pain as 7 is so much faster.
David.
Really? I haven’t actually tested the plugin with PHP7. I will check it ASAP.
Thanks
Nickolas
Great! Let us now.
Hi, I checked with PHP7.1, I see that the plugin works. What problems did you have with PHP7?
Hi Nick
I have just changed PHP back to 7.0 and its working! Excellent.
I did upgrade to 3.9.6 too beforehand – maybe that was related or maybe I did something wrong last time.
All working exactly as I need it to
Thanks, David.
-
This reply was modified 8 years, 4 months ago by
- The topic ‘Not working at all now’ is closed to new replies.