1875 posts YOU TOUCH IT YOU BUY IT
  • Has referred 200+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+6 more
FRESHFACE says

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 ?

92 posts Be different!
  • Has referred 500+ members
  • Has sold $750,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+3 more
UnitedThemes says

Hi,

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');

instead of

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.

Cheers UT

1875 posts YOU TOUCH IT YOU BUY IT
  • Has referred 200+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+6 more
FRESHFACE says

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

92 posts Be different!
  • Has referred 500+ members
  • Has sold $750,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+3 more
UnitedThemes says

Hi,

no problem mate ;) But two other errors came up :crying:

Fatal error: Class 'fImgPathPredictor_Multisite' not found .... on line 1248

and

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

1875 posts YOU TOUCH IT YOU BUY IT
  • Has referred 200+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+6 more
FRESHFACE says

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

172 posts
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 4 years
+2 more
MsTrends says

Hey,

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.

Cheers :)

1875 posts YOU TOUCH IT YOU BUY IT
  • Has referred 200+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+6 more
FRESHFACE says

Hi MsTrends!

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

172 posts
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 4 years
+2 more
MsTrends says

Hi MsTrends!

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

Hey FreshFace,

I’ve just sent an email via ur profile with link to error log file.

Hope it helps :)

205 posts
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+3 more
biyanpasau says

Hi Freshface,

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
107 posts
  • Has been part of the Envato Community for over 2 years
  • Sells items exclusively on Envato Market
mailmilisku says

I’ll try. Thanks!

by
by
by
by
by
by