Thank you very much guys. Hehe, I would love to have a beer from you, anyway I’m from Europe, so I guess that I’ll have to wait a some amount of time to drink it . Thank for the badge suggestion too, really appreciate it. I wrote it because I’m in middle of learning process of how to do the PHP stuff correctly. If you check the source code, you can see a lot of OOP concepts ( interfaces, abstract classes and other ), so it was a challenge for me. There will be a website about this project, when I’ll have a little more time.
I suppose from your reactions, that the script is 100% working ?
we didn’t had the chance to do several tests on our client webpages, but there is one issue we already registered. Maybe it’s better to use
define('CACHE_TIME' , '604800');
CONST CACHE_TIME = 604800;
for the first 3 definitions in order to make it backward compatible for older PHP versions? I had one customer who was already not able to use the new version because of this.
aaah, sry, I was using these constants inside of classes. After final minifying I just extract the lines and forgot to change to define.
thx for noticing
no problem mate But two other errors came up
Fatal error: Class 'fImgPathPredictor_Multisite' not found .... on line 1248
Fatal error: Can't inherit abstract function fIImgPathPredictor::predictPath() (previously declared abstract in fAImgPathPredictor) in ../wp-content/themes/aries/functions/freshizer.php on line 1222
Both customers are using PHP 5 .3+
For some reason these errors are not appearing in our test environment.
Best Regards UnitedThemes
Ahh, it was a small bug. I forgot to include this class when minifying. Anyway just added and uploaded the version to github. Testet with my local wp multisite installation and it works.
sorry for complications, cheers, freshface
Hope u people would be fine!
Freshizer (v 1.5) is working fine except for one problem. One of my customer (using PHP 5 .2.17 on his server) is facing 500 internal server error whenever he opens his site. I’ve seen in ur latest theme ‘Edison’ comment section that some of your customers are also facing the same issue and you have updated the theme with fixed freshizer version.
I’ve also tried to follow ur instructions below …
A) Follow this short tutorial to fix it on your own http://pastebin.com/c58XA84f
B ) Download the whole freshizer file from here and replace your existing one with it http://pastebin.com/Eptvm3YC You can find that file in “edison/framework/engine/functions/freshizer.php”
But it does’nt seems to work in this case, customer is still facing 500 internal server error whenever he visits his site front end or even wordpress admin panel. And if i remove freshizer from my theme site opens correctly on his server. He has also sent me ‘error log’ of his server, which can be sent to you if required.
I hope you’ll find some time to look into the issue.
would be great to see the log. 500 internal server error means that he is on production server, which is suppressing the errors. Could you please send me email through the contact form in my profile ?
thx and cheers, freshface
would be great to see the log. 500 internal server error means that he is on production server, which is suppressing the errors. Could you please send me email through the contact form in my profile ?thx and cheers, freshface
I’ve just sent an email via ur profile with link to error log file.
Hope it helps
I get the following error when trying to include freshizer.php in function.php
Fatal error: Can't inherit abstract function fIImgPathPredictor::predictPath() (previously declared abstract in fAImgPathPredictor) in C:\xampp\htdocs\wordpress\wp-content\themes\mythemename\inc\freshizer.php on line 1222
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.