1882 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 ?

94 posts Be different!
  • Has referred 500+ members
  • Has sold $1M+ on Envato Market and is now a Power Elite Author
  • Has collected 10+ items on Envato Market
  • Power Elite Author: Sold more than $1M on Envato Market
+4 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

1882 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

94 posts Be different!
  • Has referred 500+ members
  • Has sold $1M+ on Envato Market and is now a Power Elite Author
  • Has collected 10+ items on Envato Market
  • Power Elite Author: Sold more than $1M on Envato Market
+4 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

1882 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

173 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 :)

1882 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

173 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 :)

206 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
+4 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!

Helpful Information

  • 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.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by