Pb adding image to an item in K2

Professional Joomla restaurant template comes with a custom animated modules and advanced typography elements.
GK User
Mon Aug 20, 2012 1:15 pm
Hello,

I have a pb on the k2 component on the Gk_restaurant template: when i want to add to an item a image, select it from the server and click on save it put me a white page and nothing happens.

Do you have any idea why ?

Thanks for the answer
User avatar
Fresh Boarder

GK User
Mon Aug 20, 2012 3:47 pm
Hi

Sorry about my ignorance, but what's PB?
Booking system?

About the K2 image, please check if you have writable permissions on directories and if GD library is installed (System Information > PHP Information).

You can also try making the following change on the following file:

administrator/components/com_k2/lib/class.upload.php

Change this line:
Code: Select all
$this->mime_file = true; // MIME detection with UNIX file() command


to

Code: Select all
$this->mime_file = false; // MIME detection with UNIX file() command


Cheers
User avatar
Platinum Boarder


cron