Forum Open Notice
Forum Open Notice
  1. Forum
  2. Search

Advanced Search

Search Options

Search Results Displaying 401–420 out of 1118 results.

English K2 Community 12 years 9 months ago

[SOLVED] logon admin K2 error

When I tried to logon to admin, I got thr following errors.
K2 Quick Icons (admin)
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_quickicons/mod_k2_quickicons.php on line 15

Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/mod_k2_stats.php on line 15

Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/mod_k2_stats.php on line 23

Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/helper.php on line 23
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/tmpl/default.php on line 15

Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/tmpl/default.php on line 32

Fatal error: Class 'JPane' not found in /mnt/data/vhosts/casite-415968.cloudaccess.net/httpdocs/administrator/modules/mod_k2_stats/tmpl/default.php on line 32

Can you please resolve the problems for me. Please tell me what caused it. How did you fix it/

Thanks you.
English K2 Community 12 years 9 months ago

Re: JModel vs K2Model - fatal error

@Alexei Yakushin

You should not get this error in K2 2.6.7. The JModel::addIncludePath() is static in Joomla! 2.5 and is also declared static in K2Model. So, something else is wrong:

1. K2 is not updating properly. Ensure that your server permissions are fine and that you can install/update extensions without problem.
2. Maybe JoomSEF is overriding some core Joomla! classes and is causing all this.

Probably it is number 2 since the same setup works without JoomSEF.
English K2 Community 12 years 9 months ago

Re: JModel vs K2Model - fatal error

If you think that problem is gone - no ;)
I have Joomla 2.5.18 + K2 2.5.7 + JoomSEF 4.5.1 + PHP 5.2.17
When i try to update K2 even to 2.6.0-2.6.7 - I have same error.
PHP Fatal error: Cannot make static method JModel::addIncludePath() non static in class K2Model in /home/****/*****/www/administrator/components/com_k2/models/model.php on line 0
And site go down compleatly (and back end too). Only rename of plugins/system/k2/k2.php allow me go to backend.

BUT, if i use PHP 5.3.6-13 on another hosting - than no problem, everything works fine.

So is it possible get problem only in PHP version? Or it something else?
Because
Joomla 2.5.18 + K2 2.6.7 + PHP 5.2.17 = working
Joomla 2.5.18 + K2 2.6.7 + JoomSEF 4.5.1 + PHP 5.3.6 = working
Joomla 2.5.18 + K2 2.6.7 + JoomSEF 4.5.1 + PHP 5.2.17 = site completely down

Any ideas?
English K2 Community 12 years 9 months ago

Re: Upload Item Image - incomplete response

Partially Solved

Found a log message regarding maximum execution time
 
English K2 Community 12 years 9 months ago

k2 import content

Hello,

i have a problem about import over than 6000 joomla content,
when i click import joomla's content button,tere is error message in blank screen:
Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Notice: Trying to get property of non-object in /home/www/xxxxxx/administrator/components/com_k2/models/items.php on line 1210 Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in /home/www/xxxxxx/libraries/joomla/utilities/arrayhelper.php on line 247

when i return to control panel,k2 category not display correct form content category,and just 3k article in k2 items,

Joomla! 3.2.2 Stable
K2 v2.6.8 (Dev Build)
Database 5.5.35-0ubuntu0.12.04.2
PHP 5.3.10-1ubuntu3.9

As always, your assistance is appreciated!
Y
English K2 Community 12 years 9 months ago

Re: Fatal Error: K2

Please try what @Krikor suggested below:

Go to Extensions -> Plugin Manager and make sure to filter the plugins (system plugins) and try to set the K2 plugin render last in the plugins order.

Finally, contact that extensions support to see if they have an solution for that issue.
English K2 Community 12 years 9 months ago

Re: Fatal Error: K2

yes, I've got DJ Classifieds

I've checked on DJ Media Tools too - the same problem

best regards!
Adam
Y
English K2 Community 12 years 9 months ago

Re: K2 not working after forced Re-install-Need Help!

Try to follow the steps mentioned in this link and let me know if it works for you

www.templatemonster.com/help/joomla-2-5-x-fatal-error-call-to-undefined-method-stdclassondisplay.html

Have you checked that you actually see the items that belong to the vehicle category in the backend?
English K2 Community 12 years 9 months ago

images not uploading

I know this has been written about before but I have tried all the fixes and I still am not getting it to work.

When I try to upload an image in a K2 item I get the following error code:
Fatal error: Maximum execution time of 30 seconds exceeded in /home2/pkollel/public_html/administrator/components/com_k2/lib/class.upload.php on line 4856

The files i 500kb - there is no reason for it to be timing out. It only happens in certain categories. I haven't made any changes to my system to prompt this error.

Please help!
Communauté française K2 12 years 10 months ago

Jquery not defined

Bonjour à tous,

J'ai désactivé dans K2 le chargement de JQuery car mon template lance déjà jquery

Le problème c'est que j'ai un message d'errreur : Uncaught ReferenceError: jQuery is not defined k2.js?v2.6.7&sitepath=/:9
(anonymous function)

J'ai vu que c'est le plugin System - K2 qui lance la requete et j'ai vérifié l'ordre de mes plugins et mon jquery de template est bien avant (ordre 0) et System - K2 (ordre 11)

J'aurais pu désactivé System - K2 plugin mais ensiute je ne peux plus acceder à K2 en back-end : Fatal error: Class 'K2HelperHTML' not found in /home/lemaneo/public_html/administrator/components/com_k2/k2.php on line 77

Pourquoi K2 script est lancé avant : <script src="/components/com_k2/js/k2.js?v2.6.7&amp;sitepath=/" type="text/javascript"></script>

et comment le lancer après ?

Merci d'avance
English K2 Community 12 years 10 months ago

Blank white screen in Front & Back End

Hi.

I just installed Akeeba Admin Tools on Joomla 2.5.18. I have K2 2.6.7 installed.

If I enable the Akeeba System Admin Tool Plugin, I get a blank white screen in the front end and also in the backend.

If I ftp to site and delete the plugin, the site starts working again.

I tried setting Joomla error reoprting to max and now I get this error msg in front and backend:

Fatal error: Cannot make static method JModel::addIncludePath() non static in class K2Model in /var/www/vhosts/nmcexquisite.com/httpdocs/administrator/components/com_k2/models/model.php on line 0


The Akeeba team feels the K2 code needs fixing.

Can anyone please help.

Regards

Basheer

Joomla! version (in x.y.z format)
2.5.18rc
PHP version (in x.y.z format)
5.2.17
MySQL version
5.1.56
English K2 Community 12 years 10 months ago

Re: K2 not working after forced Re-install-Need Help!

Not sure if this will help?


When I click on a K2 item in the backend I get the following error message

"Fatal error: Call to undefined method stdClass::onDisplay() in public_html/thepinupacademy.co.uk/libraries/cms/editor/editor.php on line 459"
English K2 Community 12 years 10 months ago

Email button in category item view

Hi there!

I will add to category_item.php Email button, to send link with item to other friends - the same as in item.php view:

<?php if($params->get('itemEmailButton') && !JRequest::getInt('print')): ?>
<li class="itemEmail">
<a rel="nofollow" href="<?php echo $this->item->emailLink; ?>" onclick="window.open(this.href,'emailWindow','width=400,height=350,location=no,menubar=no,resizable=no,scrollbars=no'); return false;">
<?php echo JText::_('K2_EMAIL'); ?>
</a>
</li>
<?php endif; ?>

when I copy these lines to category_item.php I see an error:

Fatal error: Call to a member function get() on a non-object in
com_k2/templates/default/category_item.php on line 20

how can I rewrite the code to make it working? :-)

I'll be very grateful for your help!

best regards!
Adam
Y
English K2 Community 12 years 10 months ago

Re: Fatal error:

There is probably a conflict between this module and K2 in your site.
You should ask for advice from the JA support team for this.

What I mention above has to do with K2 template overrides but since you have located the problem to that specific module there is no need to take into account my suggestion.
Y
English K2 Community 12 years 10 months ago

Re: Fatal error:

Try to Disable your K2 template overrides and see if the error persists.
If it doesn't, it means that you have to update your K2 overrides since version 2.4 probably has differences between 2.6.7 even in the overrides.

Just compare the files between the components/com_k2/templates folder and templates/your_Template/html/com_k2 folder.
English K2 Community 12 years 10 months ago

Fatal error:

I just updaed from 2.4 to 2.6.7 and backned is perfect thanks for k2 but when i see front end i see white screen with this error
Fatal error: Call to undefined method K2ModelItemlist::getCategoryFirstChilds() in /home/.../public_html/modules/mod_janewspro/helpers/adapter/k2.php on line 40

Fatal error: Class 'JLoader' not found in /home/.../public_html/libraries/loader.php on line 161


please help
Y
English K2 Community 12 years 10 months ago

Re: Fatal Error: K2

Hello Adam,

Do you also use Component (DJ-Classifieds)?
English K2 Community 12 years 10 months ago

Re: Fatal Error: K2

Hi, I've got the same problem

any solution of this? :-)

greetings
Adam
English K2 Community 12 years 10 months ago

Re: White screen with Joomla 2.5.17 & K2 2.6.8 (dev)

Hi Yiota,

Thanks for the reply.

The error I'm getting is:

Fatal error: Call to undefined method JDocumentError::countModules() in /var/sites/w/xxxxxxxxxxxxx.com/public_html/j3/administrator/templates/isis/error.php on line 216

Which would seem to indicate a conflict withe the isis template somehow?

Thanks,

James

Yiota Ziaggou wrote:
Do you get the same error in your white page as Gary does or something else?
English K2 Community 12 years 10 months ago

[SOLVED] Re: Fatal error "K2helperpermissions"

The update fixed the issue. I should have thought to try that very first. Thanks for the help..