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

Advanced Search

Search Options

Search Results Displaying 701–720 out of 1118 results.

English K2 Community 14 years 1 month ago

Re: Blank Backend

I managed to manually delete the specific error folder and the administrative page returned.

But another failed attempt while trying to install k2 2.5.7

PHP Fatal error: Call to a member function getLatestItems() on a non-object in /myserver/administrator/modules/mod_k2_stats/helper.php on line 18
English K2 Community 14 years 1 month ago

Re: Blank Backend

On a furher note (possibly a case of incomplete upload) heres the error in the admin folder

PHP Fatal error: Class 'K2Model' not found in /myserver/plugins/system/k2/k2.php on line 360
English K2 Community 14 years 1 month ago

Re: Error with K2 v2.6.0 and new Joomla 2.5.7

I have the same problem after the upgrade from 2.5.7 to 2.6.0

Fatal error: Call to a member function categoriesTree() on a non-object in /home/public_html/administrator/components/com_k2/views/items/view.html.php on line 124
English K2 Community 14 years 2 months ago

Re: Display specific extra field in module position ?

Thanks so much for posting the foreach loop. I think this gets me on the right track.

What does the php code look like to insert a condition to print out a specific field?

Thanks! -- Steven

I am on Joomla 2.5.7 and K2 2.5.7


EDIT
After reading this post, I do not think this is 100% my situation. I am trying to display the k2 content module on the home page. In this module I want to display a single custom field for each of the different items

When I and the code to prepare extra field
 
English K2 Community 14 years 2 months ago

[SOLVED] Captcha error in registration form

Hello, I'm having trouble with the registration form and reCaptcha, it is not recognizing the words entered:

Attachment not found



After this, the system displays: The words you entered did not match those shown. Please try again.

Since I tried several times in different browsers and got the same result, I disabled the plugin and set it to NO in k2 parameters, but then it appears this error when I try to registrate a new user:

Fatal error: Call to a member function checkAnswer() on a non-object in /libraries/cms/form/rule/captcha.php on line 52

Does anyone knows how to fix this?
English K2 Community 14 years 2 months ago

Error Log from K2 and Disqus

Hi

I have recently set up a site with K2 on Joomla 2.5.7, everything is up to date.
I have installed the Disqus plugin and it appears to work on the site however it is generating a massive error_log file on the server. The file is full of lines like:
[02-Oct-2012 11:20:56 UTC] PHP Fatal error: Class 'JParameter' not found in /home/ukgay/public_html/plugins/k2/disqus_k2/disqus_k2.php on line 76
It get's to 500Mb in less than 24 hours. The line number at the end varies.
The site is: www.gayuknews.com

Any help appreciated.
English K2 Community 14 years 2 months ago

Fatal Error Controller.Php missing

I use Joomla 1.5.7 and K2 2.5.7 When I click on Read more or "Title" or "Comments" it says:

Warning: require_once(C:\Sites\Single16\gayeer\webroot\joomla2\components\com_k2\controller.php) [function.require-once]: failed to open stream: No such file or directory in C:\Sites\Single16\gayeer\webroot\joomla2\components\com_mailto\helpers\mailto.php on line 20

Fatal error: require_once() [function.require]: Failed opening required 'C:\Sites\Single16\gayeer\webroot\joomla2\components\com_k2\controller.php' (include_path='.;C:\PHP52\pear') in C:\Sites\Single16\gayeer\webroot\joomla2\components\com_mailto\helpers\mailto.php on line 20
PHP Warning: require_once(C:\Sites\Single16\gayeer\webroot\joomla2\components\com_k2\controller.php) [function.require-once]: failed to open stream: No such file or directory in C:\Sites\Single16\gayeer\webroot\joomla2\components\com_mailto\helpers\mailto.php on line 20 PHP Fatal error: require_once() [function.require]: Failed opening required 'C:\Sites\Single16\gayeer\webroot\joomla2\components\com_k2\controller.php' (include_path='.;C:\PHP52\pear') in C:\Sites\Single16\gayeer\webroot\joomla2\components\com_mailto\helpers\mailto.php on line 20

in ...\components\com_k2 directory There is no controller.php

Can you please Help me ?

Thanks,
English K2 Community 14 years 2 months ago

Fatal error: Call to a member function load

Recently upgraded www.suffolkbasketball.net to Joomla! 2.5 running K2
Everything has been fine until today when I try to access the site I get:

Fatal error: Call to a member function load() on a non-object in /home/suffolk/public_html/components/com_k2/views/itemlist/view.html.php on line 40

line 40 loads the category id ( $category->load($id); )

When I try to access the site's backend admin area I get a 404 page not found error. My host tells me PHP is working normally, I can access files via FTP & cPanel.

Any ideas? Thanks in advance.
English K2 Community 14 years 2 months ago

Re: Fatal error: Call to undefined function mb_interna

Hello to you. I have a problem locating php.ini to make the changes... It should be on: Configuration File (php.ini) Path /usr/lib
But I can't find something like this. Can you help me please
[When I try to create a new item (article) in k2, the error message you reffer is appearing. This happened whith no reason yesterday..)

Thank you.
English K2 Community 14 years 2 months ago

Re: Fatal error: Class 'FinderIndexerResult' not found

Did you displayed the K2 Smart Search plugin? It should work. Did you try to save it's parameters? Also you didn't respond if it's a new installation or an update from a previous Joomla! version.
English K2 Community 14 years 2 months ago

Fatal error: Class 'FinderIndexerResult' not found

Hello,

I've installed the latest version of K2 (downloaded today) on Joomla 2.5.6.

The installation went fine but when I came to add a new item vis the Item section of K2 I got the following error:

Fatal error: Class 'FinderIndexerResult' not found in /web/www/joombackup/joomla/libraries/joomla/utilities/arrayhelper.php on line 105

No sure what I've done wrong.

Any help would be great.

Thanks
English K2 Community 14 years 2 months ago

Re: Catchable fatal error and Warning: Illegal offset

I found a solution.
Line 478 in administrator/components/com_k2/lib/JSON.php, $str variable has to be a string. To avoid the error I've add a very bad hack to be sure to convert the variable to string :

function reduce_string($str)
{
$str = strval($str); // added by exlineo
$str = preg_replace(array(

// eliminate single line comments in '// ...' form
'#^\s*//(.+)$#m',

// eliminate multi-line comments in '/* ... */' form, at start of string
'#^\s*/\*(.+)\*/#Us',

// eliminate multi-line comments in '/* ... */' form, at end of string
'#/\*(.+)\*/\s*$#Us'

), '', $str);

// eliminate extraneous space
return trim($str);
}
English K2 Community 14 years 2 months ago

Cannot Create Categories

Hi,
Anytime i try to create a new category in k2 or import from the content component to K2 i get this error
Fatal error: Call to undefined function mb_regex_encoding() in /home/******/public_html/administrator/components/com_k2/tables/k2category.php on line 93

I searched the forum for related problems and i saw something about MbString. It is enabled on the server
Please what can i do about this.
English K2 Community 14 years 2 months ago

Re: Catchable fatal error and Warning: Illegal offset

Hye,

I removed the category to the Joomla administration> select> delete.
But it may be another transaction that was a problem, I cannot say with certainty.

I've try to edit each element but the bug is still there.

Nobody get the same problem ?

ps : if you try a google search like : 'warning components/com_k2/models/item.php on line 1110' you will find many websites. Weird.
English K2 Community 14 years 2 months ago

Re: Catchable fatal error and Warning: Illegal offset

Hi. Are you still getting this error? Try to edit and save again the item that is having the issue. Also how did you removed the extra fields? Did you use the K2 administration or you just removed it manually from the database?
English K2 Community 14 years 2 months ago

Catchable fatal error and Warning: Illegal offset

After manipulation on K2 categories (option changes) and the elimination of a group of additional fields, the site is completely out with error messages:
Warning: Illegal offset type in isset or empty in / xxxxxx/components/com_k2/models/item.php on line 1110
Catchable fatal error: Object of class stdClass Could not be converted to string in / xxxxxxxx/administrator/components/com_k2/lib/JSON.php on line 478


I did an update of K2 but instead of fixing the problem, it has created a new one in the administration. Component appears only on the home page but not in the administration menu components while remaining functional.

An idea about the problem?

K2: 2.5.7
Joomla 2.5.6
Versions of PHP and MYSQL recent
English K2 Community 14 years 3 months ago

Re: K2 Items bar missing in back-end

There are no fatal errors.
Turn it back off

Have you installed something just prior to this happening or did it ever work properly
If it did - look for why
if it never worked properly
Back up your site
reinstall k2
English K2 Community 14 years 3 months ago

Re: Cannot import Joomla! content into K2

Fatal error: Call to undefined function mb_internal_encoding() is most likely the problem
Check the information tab on K2 and if mbstring is not enabled, get your host to turn it on as it is required
English K2 Community 14 years 3 months ago

Re: Cannot import Joomla! content into K2

Here is the error listing after I clicked the Import button.
Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/plugins/system/k2/k2.php on line 320 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/plugins/system/rokextender/rokextender.php on line 32 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/plugins/system/k2/k2.php on line 27 Strict Standards: Non-static method RokCandyHelper::getMacros() should not be called statically, assuming $this from incompatible context in /DATA/www/irriweb/plugins/system/rokcandy/rokcandy.php on line 28 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_rokcandy/helpers/rokcandy.php on line 13 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_rokcandy/helpers/rokcandy.php on line 14 Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method RokCandyHelper::getUserMacros() should not be called statically in /DATA/www/irriweb/libraries/joomla/cache/controller/callback.php on line 159 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_rokcandy/helpers/rokcandy.php on line 24 Strict Standards: Non-static method RokCandyHelper::getTemplateOverrides() should not be called statically, assuming $this from incompatible context in /DATA/www/irriweb/administrator/components/com_rokcandy/helpers/rokcandy.php on line 18 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_rokcandy/helpers/rokcandy.php on line 41 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_rokcandy/helpers/rokcandy.php on line 42 Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method RokCandyHelper::readIniFile() should not be called statically in /DATA/www/irriweb/libraries/joomla/cache/controller/callback.php on line 159 Strict Standards: Non-static method RokCandyHelper::getCurrentTemplate() should not be called statically in /DATA/www/irriweb/administrator/components/com_rokcandy/helpers/rokcandy.php on line 53 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_k2/admin.k2.php on line 14 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_k2/admin.k2.php on line 18 Strict Standards: Non-static method K2HelperPermissions::checkPermissions() should not be called statically in /DATA/www/irriweb/administrator/components/com_k2/admin.k2.php on line 39 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/components/com_k2/helpers/permissions.j16.php on line 19 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/components/com_k2/helpers/permissions.j16.php on line 20 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_k2/admin.k2.php on line 66 Strict Standards: Declaration of K2ControllerItems::display() should be compatible with JController::display($cachable = false, $urlparams = false) in /DATA/www/irriweb/administrator/components/com_k2/controllers/items.php on line 16 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_k2/controllers/items.php on line 137 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_k2/models/items.php on line 977 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_k2/models/items.php on line 978 Strict Standards: Declaration of JParameter::loadSetupFile() should be compatible with JRegistry::loadSetupFile() in /DATA/www/irriweb/libraries/joomla/html/parameter.php on line 512 Strict Standards: Declaration of TableK2Category::load() should be compatible with JTable::load($keys = NULL, $reset = true) in /DATA/www/irriweb/administrator/components/com_k2/tables/k2category.php on line 156 Strict Standards: Only variables should be assigned by reference in /DATA/www/irriweb/administrator/components/com_k2/models/items.php on line 1025 Fatal error: Call to undefined function mb_internal_encoding() in /DATA/www/irriweb/administrator/components/com_k2/tables/k2category.php on line 92
English K2 Community 14 years 3 months ago

Re: Urgent help - Fatal error: Cannot redeclare class

Anders wrote:
Problem solved.

It was Smart Search - K2" plugin that caused this.

After disabling that plugin everything was working again.


Confirmed - I had the same error and disabling Smart Search solved it.

Is there a fix so that Smart Search can be added back?