Keyword

after installing K2 website crashes

  • Alby Mulder
  • Alby Mulder's Avatar Topic Author
  • Offline
  • New Member
More
11 years 10 months ago #107313 by Alby Mulder
after installing K2 website crashes was created by Alby Mulder
I have just installed K2 2.6.2 in a Joomla 2.6 site, now my site is not functioning anymore. Even the admin is not available. What happend?


Fatal error: Cannot make static method JModel::addIncludePath() non static in class K2Model in /home/lactacar/public_html/administrator/components/com_k2/models/model.php on line 41

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #107314 by mc
I have the same problem. but I am sad to see that this was posted over 2 months ago with no reply & fear I face the same fate.

I attempted to install K2 on my Joomla 1.7.3 website and got the same error that Alby described. now my entire site is down.

Would love some assistance with this.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #107315 by william white
Replied by william white on topic Re: after installing K2 website crashes
If you have a backup of your site, i would put the original site back up, upgrade it to j 2.5.9 and then install k2 2.6.3

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago - 11 years 8 months ago #107316 by mc
Hi William,
I found a solution

Lefteris Kavadas wrote: NOTE - This is only for Joomla! 1.6. and 1.7 users who accidentally installed K2 2.6

There are several ways but unfortuanetlly non of them is very easy. You can extract the package in your computer and then look at the files. You need to replace the 2.6. files with the files of 2.5.7 package. You are going to need FTP access to your server for this. An important thing to remember is that the plugins files need their own directory. This means for example that the file of the 2.5.7 package /plugins/system/k2.php needs to be placed at /plugins/system/k2/k2.php. Before you place the files make sure to backup in case you delete any wrong files. After finishing you will probably be able to access your administration. If so install the K2 2.5.7 again through the installer.


After doing that, my front-end was restored & my admin area only had the K2 buttons and nothing else.
I manually entered the URL to my extension manager page and was able to install K2 2.5.7 over the 2.6 copy, now I am back in business.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum