Print icon problem

Advanced and professional portal news Joomla template with community features and various content display layouts.
GK User
Fri Aug 30, 2013 9:59 am
Hi,
When clicking on the print icon...

a) I get this error...

Code: Select all
Fatal error: Call to a member function get() on a non-object in /home/mysite/public_html/templates/gk_twn2/lib/gk.framework.php on line 893



b) The logo doesn't appear - although it's set in the Template Manager options tab.

(According to Firefox image properties, the image location is http://www.mysite.com/index.php/jobs/im ... go-new.png )
The image is really at http://www.mysite.com/images/logo/logo-new.png

Any ideas? :)
User avatar
Senior Boarder

teitbite
Sun Sep 01, 2013 6:44 pm
Hi

Please tell me the exact url to the page with this problem.
User avatar
Moderator

GK User
Sun Sep 01, 2013 9:06 pm
PM sent - thanks :)
User avatar
Senior Boarder

teitbite
Tue Sep 03, 2013 9:08 pm
Hi

I can see the error, but unfortunately I cannot reproduce it on my copy. I think it may be some problem with a broken file during upload to server. Please try reinstall template and if this will not help send me an access to ftp.
User avatar
Moderator

GK User
Wed Sep 04, 2013 10:51 pm
Hi - thanks for the reply :)

I have found the problem. It's the same thing as I reported in this thread: https://www.gavick.com/forums/the-world ... 28298.html

It seems that DS (Directory Separator) is not being defined.

When I use this code in gk.framework.php...
Code: Select all
if(!defined('DS')){
 define('DS',DIRECTORY_SEPARATOR);
}


It's now working.

Is it possible this is a Joomla 3.1 issue?
Just asking.... :)
User avatar
Senior Boarder

teitbite
Thu Sep 05, 2013 12:08 am
Hi

Acctually this is a common problem when an extension from J2.5 is installed on J3.1 . I believe that some plugins which came from template must have been not updated.
User avatar
Moderator


cron