Pure PHP Upload 3 Support Product Page
Answered
Will php upload 3 work with php7?
Asked 17 Sep 2019 20:29:01
1
has this question
17 Sep 2019 20:29:01 Brian Williams posted:
I have been currently working with pure php upload 2, the latest version. I just upgraded to another server which has php7, and I am getting Depreciation errors on all the pages with the php file upload 2 extension. Will version 3 work with this? If not, how about 5? Hoping this will be an easy, quick fix?Any help would be appreciated.
Thank you
Replies
Replied 18 Sep 2019 06:46:12
18 Sep 2019 06:46:12 Teodor Kuduschiev replied:
Hello Brian,
Could you paste the exact errors you see? Are you sure the errors are not related to the old, deprecated DW Server Behaviors on your pages?
Could you paste the exact errors you see? Are you sure the errors are not related to the old, deprecated DW Server Behaviors on your pages?
Replied 18 Sep 2019 15:11:51
18 Sep 2019 15:11:51 Brian Williams replied:
Here's the errors I'm receiving. All the pages with errors have to do with file uploading.
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pureFileUpload has a deprecated constructor in /home/jswalls/public_html/ScriptLibrary/incPureUpload.php on line 8
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pureUploadAddon has a deprecated constructor in /home/jswalls/public_html/ScriptLibrary/incPureUpload.php on line 430
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; fileInfo has a deprecated constructor in /home/jswalls/public_html/ScriptLibrary/incPureUpload.php on line 442
Fatal error: Uncaught Error: Call to undefined function eregi() in /home/jswalls/public_html/cp/add-property-listing/index.php:85 Stack trace: #0 {main} thrown in /home/jswalls/public_html/cp/add-property-listing/index.php on line 85
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pureFileUpload has a deprecated constructor in /home/jswalls/public_html/ScriptLibrary/incPureUpload.php on line 8
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pureUploadAddon has a deprecated constructor in /home/jswalls/public_html/ScriptLibrary/incPureUpload.php on line 430
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; fileInfo has a deprecated constructor in /home/jswalls/public_html/ScriptLibrary/incPureUpload.php on line 442
Fatal error: Uncaught Error: Call to undefined function eregi() in /home/jswalls/public_html/cp/add-property-listing/index.php:85 Stack trace: #0 {main} thrown in /home/jswalls/public_html/cp/add-property-listing/index.php on line 85
Replied 19 Sep 2019 07:21:26
19 Sep 2019 07:21:26 Teodor Kuduschiev replied:
The last error mentioning the function eregi() has been fixed in Pure PHP Upload 3, but you will see some deprecation warnings with it as well using PHP7+.
The last update for Pure PHP Upload 3 was almost 5 years ago and it is no longer being updated or maintained. Pure PHP Upload 2 is even older.
With the deprecation of the old DW server Behaviors, we released new, modern tools (Server Connect and App Connect) no longer relying on DW server behaviors and they include a file upload extension which is PHP 7 compatible, it's called HTML5 File Upload www.dmxzone.com/go/23308/html5-file-upload
However there is no a point-and-click way of transforming your old website, relying on DW server behaviors to the new tools we offer.
For sites which run such old scripts i'd recommend you to keep PHP 5.6.
The last update for Pure PHP Upload 3 was almost 5 years ago and it is no longer being updated or maintained. Pure PHP Upload 2 is even older.
With the deprecation of the old DW server Behaviors, we released new, modern tools (Server Connect and App Connect) no longer relying on DW server behaviors and they include a file upload extension which is PHP 7 compatible, it's called HTML5 File Upload www.dmxzone.com/go/23308/html5-file-upload
However there is no a point-and-click way of transforming your old website, relying on DW server behaviors to the new tools we offer.
For sites which run such old scripts i'd recommend you to keep PHP 5.6.
Replied 19 Sep 2019 08:25:50
19 Sep 2019 08:25:50 Brian Williams replied:
I downgrades the php to 5.4, and I get the function eregi() error. If I upgrade to php file upload 3, would that solve the error? I tried php 5.5 and also got that same error.
Replied 19 Sep 2019 08:39:21
19 Sep 2019 08:39:21 Teodor Kuduschiev replied:
The erregi() function error won't appear in PPU3, as the code has been updated there.
Replied 15 Oct 2024 12:10:55
15 Oct 2024 12:10:55 Adam Jack replied:
When looking for reliable builders, it's always important to choose a team that understands your vision, especially for something as unique as a Granny Flat. That's where Innova Homes comes in! Their attention to detail and commitment to quality make them a fantastic choice for anyone looking to add value and space to their property.
Replied 05 Nov 2024 16:19:49
05 Nov 2024 16:19:49 Joseph J. Sherman replied:
Achieve seamless project delivery with SQFT Construction turnkey solutions. From planning to final handover, SQFT Construction manages every stage with precision, ensuring quality and timeliness. Count on experienced contractors who handle all aspects, providing a single point of accountability. Ideal for clients seeking efficiency and reliability, SQFT Construction transforms visions into fully functional spaces. With a turnkey approach, experience hassle-free construction tailored to your unique needs.
Replied 13 Nov 2024 11:54:03
13 Nov 2024 11:54:03 Joseph J. Sherman replied:
Ensure your safety with SG Health's reliable respirator fit testing. Experience accurate, certified testing to find your perfect fit. Protect against airborne hazards with tailored solutions. Trust SG Health for thorough and compliant safety services.
Replied 20 Dec 2024 16:09:26
20 Dec 2024 16:09:26 Marson Garcia replied:
Discover the top skills needed for remote bookkeeping success with insights from Global Wiza Hub. Master financial organization, develop strong communication abilities, and stay proficient with accounting software like QuickBooks or Xero. Learn how attention to detail, time management, and adaptability can elevate your bookkeeping career. With the right tools and expertise, you can excel in remote roles and build a thriving bookkeeping business from anywhere.