- Posts: 1
COMMUNITY FORUM
after installing K2 website crashes
- Alby Mulder
-
Topic Author
- Offline
- New Member
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.
- mc
-
- Offline
- New Member
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.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
Please Log in or Create an account to join the conversation.
- mc
-
- Offline
- New Member
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.