"Fatal Error" in K2 in myStore

Change your online store into modern look with myStore eCommerce VirtueMart Joomla template - discussion forum.
GK User
Sun Nov 07, 2010 8:13 am
when selecting from the main menu "3rd Party extensions-> K2 -> Items or Users or Latest items" (no problem when selecting "categories" or "tags" though) then I get the error message:

Fatal error: require() [function.require]: Failed opening required '/siteName/modules/mod_k2_content/tmpl/no_plugin/default.php' (include_path='.:/Applications/xampp/xamppfiles/lib/php') in '/siteName/modules/mod_k2_content/mod_k2_content.php on line 35

Sure, the folder "no-plugin" (as stated in the error message) does not exist, but why that/what's the problem? (a "default.php" exists in /tmpl/Default/ )

"Information" section in K2 backend confirms all listed directories writable, ALL modules and plugins (!!) are installed and enabled.

The entire installations is up-to-date to the latest Joomla, template and extensions versions.


Thanks for advising!
User avatar
Expert Boarder

teitbite
Tue Nov 09, 2010 12:16 am
Hi

The message tells also that there is a request for some library from the php folder for XAMPP. I do not know this program, but for sure I was hearing a lot about it's problems. Please see if the error exists on some other server.
User avatar
Moderator

GK User
Sun Nov 14, 2010 5:56 am
I doubt that this has to do with XAMPP!

Why?

Because I have this problem on my local server (yes, on XAMPP obviously) AND also on the public server*, hosted on Rochen Host which host many Joomla sites where those kind of problem don't exist.


* Fatal error: require() [function.require]: Failed opening required '/home/mySite/public_html/modules/mod_k2_content/tmpl/no_plugin/default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mySite/public_html/modules/mod_k2_content/mod_k2_content.php on line 35
User avatar
Expert Boarder

GK User
Sun Nov 14, 2010 9:00 am
Can you provide a url to this and php version ?
User avatar
Expert Boarder

GK User
Sun Nov 14, 2010 9:04 am
PHP Version 5.2.14 (on the hosted server)
PHP version I am running on local host is 5.2.9

BOTH show the same issue

www.artprivee.com (just a test site using the GK demo content)
User avatar
Expert Boarder

GK User
Sun Nov 14, 2010 9:24 am
Well it looks like some files are missing...
for example -> http://www.artprivee.com/modules/mod_k2 ... efault.php
I have uploaded the latest version here -> http://gk-demo.pascm.net and the same url that it's not working on your server, is working fine on mine.

for instance

http://gk-demo.pascm.net/index.php?opti ... 54&lang=en
http://artprivee.com/index.php?option=c ... 54&lang=en


also the file that it's missing from your installation..

http://gk-demo.pascm.net/modules/mod_k2 ... efault.php

it's working fine on mine....

Try to re download and reaupload the latest version of the product and check if it works for you.
By the way are you on Plesk o cPanel server?
User avatar
Expert Boarder

GK User
Sun Nov 14, 2010 10:16 am
I can see that everything works fine on your side also !!
User avatar
Expert Boarder

GK User
Sun Nov 14, 2010 10:49 am
nope, far from it (just having a coffee and taking a breath before continuing with this...)

- after deinstall/reinstall still no "no-plugins"folder. Install all without problems, K2 backend system check reports all installed, writable and enabled... K2 does not seem to bother that this folder is not there. Is this something GK specific? No information on K2 configuration in the new Help File!

- I see the "items now, but without GK styling. Seems that some (not documented) configuration settings need to be applied to K2 somewhere to get GK styling?

- getting 404 error when selecting 3rd party extensions -> K2 -> categories -> laptops...

I'll continue trying to fix it and keep you posted.

In meantime, if you are aware of any settings/configs that is not published (e.g. in the HelpFile) please let me know. My feeling is that there is some info missing if someone does not use the quickinstall and tries to install just the template and the rest separate (which is what I had to do)

Thanks so far anyway
User avatar
Expert Boarder

GK User
Sun Nov 14, 2010 10:53 am
I don't think that there is something else, on my installation everything works just fine
User avatar
Expert Boarder

GK User
Sun Nov 14, 2010 11:09 am
The good thing is it works now...

The BAD thing is, at least for me, there is NO way to explain why...

You saw yourself that there was no "no_plugin" folder right...?!

Before I deinstalled/reinstalled K2 as you suggested I made an Akeeba backup... As things looked more chaotic after the reinstall I thought its better to go back to square one and therefore reinstated the entire installation with this back-up (I swear it is THIS backup). Now, all works, no "fatal error" and, please don't call me crazy.... the no-plugin folder is there....

:silly: :laugh: :ohmy: :huh: :S :S :S

P.S.: and, yes, it was a coffee I just had... JUST coffee... nothing else and nothing in it... ;)
User avatar
Expert Boarder

teitbite
Tue Nov 16, 2010 12:57 am
Hi

We won't. I've seen much more stranger things :)
User avatar
Moderator

GK User
Tue Nov 16, 2010 2:59 am
man, those things scare the hell out of me... NO way to understand what's going on... :S
User avatar
Expert Boarder

GK User
Thu Nov 25, 2010 10:24 am
I can't quite believe what i just found out:

There is this "little innocent and VERY HIDDEN comment in the k2 Video Introduction on "K2 - the missing documentation" which is thankfully provided here http://www.ostraining.com/blog/joomla/k2/ saying...

...THAT K2 CAN NOT BE INSTALLED ON LOCAL HOST...

... and that trying to do that will require some "manual intervention" because things will not install properly......
(Which seems to be exactly what was my problem here).

Sure, I don't blame GAVICK for such (at least to me) strange behavior of such an otherwise well regarded component. It's not your issue at the core.

But I think it would be MOST helpful if you guys would point out in the future (at least provide a website link) to let your customers know of some strange issues MANY will most likely not be aware of and where they are bound to run into trouble without knowing it... I guess it will also take workload off you forum work.

Finally, let me ask GK: DID YOU KNOW THAT K2 CAN NOT BE INSTALLED ON LOCAL HOST without manual fixes?
User avatar
Expert Boarder

GK User
Thu Nov 25, 2010 11:09 am
can only talk for my self, and no, i did not know this...
User avatar
Platinum Boarder

teitbite
Sat Nov 27, 2010 12:05 am
Hi

I didn't know that either, but it's working at my localhost ;/
User avatar
Moderator


cron