Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Fatal error- undefined
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Fatal error- undefined

Fatal error- undefined 10 years, 8 months ago #11146

  • sigjonss
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Why do I get this error on one site but not on another. They are on different servers.
Fatal error: Call to undefined function exif_imagetype() in /home/siggivor/public_html/modules/mod_sj_carousel/core/helper_image.php on line 211

Re: Fatal error- undefined 10 years, 8 months ago #11153

  • SA Thuy
Dear Sigurður Jónsson,

Please go to /home/siggivor/public_html/modules/mod_sj_carousel/core/helper_image.php and find:
if ( !function_exists('exif_imagetype') ){
    $intype = exif_imagetype($path);
} else {
    $infor = getimagesize($path);
    $intype= @$infor[2];
}

=>
if (function_exists('exif_imagetype') ){
    $intype = exif_imagetype($path);
} else {
    $infor = getimagesize($path);
    $intype= @$infor[2];
}



Thanks

Re: Fatal error- undefined 10 years, 8 months ago #11158

  • sigjonss
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Now I get
Parse error: syntax error, unexpected T_STRING in /home/siggivor/public_html/modules/mod_sj_carousel/core/helper_image.php on line 1

Re: Fatal error- undefined 10 years, 8 months ago #11190

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Sigurður Jónsson,

Did you exactly change the code lines according to the guide yet?

Please send your site account to us if possible.

We will directly check this issue as soon as possible.

For the security reason, please enter your site account in

Require Help
From Staff + Mod/Admin?


when you reply this answer.

Thanks
Ticket System | Join our Clubs to download our extensions and templates

Re: Fatal error- undefined 10 years, 8 months ago #11222

  • sigjonss
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
I did. I only saw one change with the ! in front of function.

Can this have anything to do with the Apache or PHP server's version as I asked in
www.smartaddons.com/forum/298-sj-plus/11135-header-image#11220

Both of these problems occur on the same server. Could it be different Apache(2.2.22 and
2.2.24) or PHP (5.3.13 and 5.3.26) versions?

What I mean is: I made the site (for someone else) on one server and then it was moved to another and it works fine on the one with the later versions.

Re: Fatal error- undefined 10 years, 8 months ago #11247

  • SA Thuy
Dear Sigurður Jónsson,


Please send your site account to us.
For the security reason, please enter your site account in:
Require Help
From Staff + Mod/Admin?


when you reply this answer.

Thanks
Last Edit: 10 years, 8 months ago by .
  • Page:
  • 1
  • 2
Time to create page: 0.31 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes