Keyword

Advanced Search

Search Results (Searched for: Fatal Error K2)

  • Peter Sundmark
  • Peter Sundmark's Avatar
14 Nov 2013 18:54
Replied by Peter Sundmark on topic [SOLVED] Fatal Error for new article Front End

[SOLVED] Fatal Error for new article Front End

Category: English K2 Community

I have to open this case again.

I thought I had solved it because it worked fine when I had unistalled the plugin. Now I can't create Extra Fields anymore. I got this error:

( ! ) Warning: require_once(JPATH_COMPONENT\lib\JSON.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in C:\wamp\www\moffarem\administrator\components\com_k2\models\extrafield.php on line 147
Call Stack
# Time Memory Function Location
1 0.0007 383960 {main}( ) ..\index.php:0
2 0.0669 4029128 JApplicationCms->execute( ) ..\index.php:42
3 0.0669 4029128 JApplicationAdministrator->doExecute( ) ..\cms.php:264
4 0.1867 8428784 JApplicationAdministrator->dispatch( ) ..\administrator.php:143
5 0.1892 8509680 JComponentHelper::renderComponent( ) ..\administrator.php:98
6 0.2069 8515048 JComponentHelper::executeComponent( ) ..\helper.php:331
7 0.2087 8632704 require_once( 'C:\wamp\www\moffarem\administrator\components\com_k2\k2.php' ) ..\helper.php:351
8 0.2287 9751072 JControllerLegacy->execute( ) ..\k2.php:135
9 0.2287 9751120 K2ControllerExtraField->save( ) ..\legacy.php:722
10 0.2356 10327840 K2ModelExtraField->save( ) ..\extrafield.php:28

( ! ) Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'JPATH_COMPONENT\lib\JSON.php' (include_path='.;C:\php\pear') in C:\wamp\www\moffarem\administrator\components\com_k2\models\extrafield.php on line 147
Call Stack
# Time Memory Function Location
1 0.0007 383960 {main}( ) ..\index.php:0
2 0.0669 4029128 JApplicationCms->execute( ) ..\index.php:42
3 0.0669 4029128 JApplicationAdministrator->doExecute( ) ..\cms.php:264
4 0.1867 8428784 JApplicationAdministrator->dispatch( ) ..\administrator.php:143
5 0.1892 8509680 JComponentHelper::renderComponent( ) ..\administrator.php:98
6 0.2069 8515048 JComponentHelper::executeComponent( ) ..\helper.php:331
7 0.2087 8632704 require_once( 'C:\wamp\www\moffarem\administrator\components\com_k2\k2.php' ) ..\helper.php:351
8 0.2287 9751072 JControllerLegacy->execute( ) ..\k2.php:135
9 0.2287 9751120 K2ControllerExtraField->save( ) ..\legacy.php:722
10 0.2356 10327840 K2ModelExtraField->save( ) ..\extrafield.php:28

Perhaps I have to reinstall the K2 package?

/Peter
  • Peter Sundmark
  • Peter Sundmark's Avatar
14 Nov 2013 17:15
Replied by Peter Sundmark on topic [SOLVED] Fatal Error for new article Front End

[SOLVED] Fatal Error for new article Front End

Category: English K2 Community

SOLVED
It was a plugin from Inceptive called "Inceptive K2 multiple extra field groups" which caused the problem. After I uninstalled the plugin it works again.
I will report the issue to Inceptive Design Labs.

Thanks for your efforts!

Regards
Peter
  • Peter Sundmark
  • Peter Sundmark's Avatar
14 Nov 2013 14:56
Replied by Peter Sundmark on topic [SOLVED] Fatal Error for new article Front End

[SOLVED] Fatal Error for new article Front End

Category: English K2 Community

I'm using Joomla 3.2.0
K2 2.6.7
  • Yiota
  • Yiota's Avatar
14 Nov 2013 14:24

[SOLVED] Fatal Error for new article Front End

Category: English K2 Community

Could you provide information about your Joomla! and K2 versions?
  • Johann Scharfetter
  • Johann Scharfetter's Avatar
14 Nov 2013 12:49 - 14 Nov 2013 12:50
Replied by Johann Scharfetter on topic Add custom fields to k2 content module -> Error

Add custom fields to k2 content module -> Error

Category: English K2 Community

Thank you for your kind answers.

I tried to do what you suggested, but get errors.


When I put follwoing the code
Notice: Undefined property: stdClass::$extrafields in /homez.428/monpetit/www/modules/mod_k2_content/tmpl/Talleres-inicio/default.php on line 72

Notice: Trying to get property of non-object in /homez.428/monpetit/www/modules/mod_k2_content/tmpl/Talleres-inicio/default.php on line 72

Notice: Trying to get property of non-object in /homez.428/monpetit/www/modules/mod_k2_content/tmpl/Talleres-inicio/default.php on line 72


__________________

When I put follwoing the code
Fatal error: Using $this when not in object context in /homez.428/monpetit/www/modules/mod_k2_content/tmpl/Talleres-inicio/default.php on line 72

  • Peter Sundmark
  • Peter Sundmark's Avatar
14 Nov 2013 12:08
[SOLVED] Fatal Error for new article Front End was created by Peter Sundmark

[SOLVED] Fatal Error for new article Front End

Category: English K2 Community

Hi,
I'm stucked and need help!
I don't know what I have done but suddenly I can't create a new article from Front End when I'm logged in. It doesn't mather if I'm logged in as a super user or normal user. However, I can change an already existing article.
I got this error:
( ! ) Fatal error: Call to a member function isCheckedOut() on a non-object in C:\wamp\www\moffarem\administrator\components\com_k2\views\item\view.html.php on line 68
Call Stack
# Time Memory Function Location
1 0.0004 376200 {main}( ) ..\index.php:0
2 0.0630 3937624 JApplicationCms->execute( ) ..\index.php:40
3 0.0630 3937624 JApplicationSite->doExecute( ) ..\cms.php:264
4 0.2022 10900568 JApplicationSite->dispatch( ) ..\site.php:208
5 0.2074 10980728 JComponentHelper::renderComponent( ) ..\site.php:178
6 0.2081 10982040 JComponentHelper::executeComponent( ) ..\helper.php:331
7 0.2086 11050064 require_once( 'C:\wamp\www\moffarem\components\com_k2\k2.php' ) ..\helper.php:351
8 0.2262 12261936 JControllerLegacy->execute( ) ..\k2.php:62
9 0.2262 12261984 K2ControllerItem->add( ) ..\legacy.php:722
10 0.2262 12261984 K2ControllerItem->edit( ) ..\item.php:146
11 0.2514 13518120 K2ViewItem->display( )

Do anybody now whats wrong?

Best regards,
Peter
  • Johann Scharfetter
  • Johann Scharfetter's Avatar
12 Nov 2013 20:28 - 12 Nov 2013 20:29
Add custom fields to k2 content module -> Error was created by Johann Scharfetter

Add custom fields to k2 content module -> Error

Category: English K2 Community

K2 v2.6.5

Hi,

I tried to add selected custom fields to k2 content module.

When I do it in item.php or category_item.php it works fine, but when I do it in the content module I get the following error:

Fatal error: Using $this when not in object context in /homez.428/monpetit/www/modules/mod_k2_content/tmpl/Talleres-inicio/default.php on line 75

 
  • Steven Johnson
  • Steven Johnson's Avatar
11 Nov 2013 15:48 - 11 Nov 2013 15:49

[SOLVED] "User Extra Fields" for Joomla 3 for customization

Category: English K2 Community

Thanks so much for posting this, I wished I had seen the post sooner.

Everything seems to work fine on 3.1.5 site

I was able to install your modified package on a Joomla 3.2 site.

I get this error when the plugin is enabled.
 
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
07 Nov 2013 13:10
Replied by Krikor Boghossian on topic Am having some problem with my project

Am having some problem with my project

Category: English K2 Community

Which version of Joomla! and K2 are you using?
  • oluwadero John
  • oluwadero John's Avatar
06 Nov 2013 23:59
Replied by oluwadero John on topic Am having some problem with my project

Am having some problem with my project

Category: English K2 Community

Please I'm having this error displaying on a project am currently doing for a client
Fatal error: Class 'K2Model' not found in /home/iyinmfb/public_html/plugins/system/k2/k2.php on line 419

Please I will appreciate your urgent response in finding solution to this problem. Thanks
  • emmet mcintyre
  • emmet mcintyre's Avatar
24 Oct 2013 19:01
Replied by emmet mcintyre on topic Cannot redeclare class K2ModelItemlist in...

Cannot redeclare class K2ModelItemlist in...

Category: English K2 Community

Hello Krikor

I have been away from this project for a couple of months but I'm picking it up again. I've installed quite a few extra components but they all seem to be working. The template I bought uses the Gantry framework and I'm using the default k2 template.

This error has appeared again but this time in a different place. I've made a roksprocket mosaic module that loads and displays the items in a chosen category. When I add the module to my website homepage it all works fine. If I add this to a menu I get the Fatal error: Cannot redeclare class K2ModelItemlist in /home/..../components/com_k2/models/itemlist.php on line 1188 again.

I'm using:
Joomla! 3.1.5
K2 2.6.6

Please help!
Thanks
Emmet
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
22 Oct 2013 14:10
Replied by Krikor Boghossian on topic K2 upgrade fatal error

K2 upgrade fatal error

Category: English K2 Community

Ok which version of Joomla! are you using? HAve you tried updating or reinstalling? com_mailto is a component which comes bundled with the default Joomla! installation.

I would also take a longshot with this one, open my FTP client and try to see if '/home/pbjersey/public_html/backup1/public_html/components/com_mailto/helpers/mailto.php actually exists. The backup might have been corrupt. If it does not exist, I would reinstall Joomla! on top.
  • Daniel Williams
  • Daniel Williams's Avatar
22 Oct 2013 13:50
Replied by Daniel Williams on topic K2 upgrade fatal error

K2 upgrade fatal error

Category: English K2 Community

Thanks. The same issue was actually happening when it was live so we moved to a backup folder while we fixed it and rolled out an earlier backup as a temporary measure.

Yes, settings for live site are correct and no have not removed anything. I can access the items in the backend. I would be happy to send you the URL and give you access if you would be willing to take a look? Do you have an email address?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
22 Oct 2013 13:46
Replied by Krikor Boghossian on topic K2 upgrade fatal error

K2 upgrade fatal error

Category: English K2 Community

It is looking in a wrong folder for the com_mailto component files. I am pretty sure that
/home/pbjersey/public_html/backup1/public_html is not a valid path (due to the double public_html).

If the path is correct, make sure you have not removed com_mailto, or remove the mailto functionality from the K2 item (not the best solution)

This is most likely a setup issue. Are your settings for live site, server paths etc correct?
  • Daniel Williams
  • Daniel Williams's Avatar
22 Oct 2013 13:28
Replied by Daniel Williams on topic K2 upgrade fatal error

K2 upgrade fatal error

Category: English K2 Community

Yes, I have checked these and updated. The news page is now working however the static pages are still not,

New error message:
Warning: require_once(/home/pbjersey/public_html/backup1/public_html/components/com_mailto/helpers/mailto.php) [function.require-once]: failed to open stream: No such file or directory in /home/pbjersey/public_html/backup1/public_html/components/com_k2/views/item/view.html.php on line 321

Fatal error: require_once() [function.require]: Failed opening required '/home/pbjersey/public_html/backup1/public_html/components/com_mailto/helpers/mailto.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pbjersey/public_html/backup1/public_html/components/com_k2/views/item/view.html.php on line 321
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
22 Oct 2013 12:52
Replied by Krikor Boghossian on topic K2 upgrade fatal error

K2 upgrade fatal error

Category: English K2 Community

Are you sure this path exists ? home/pbjersey/public_html/backup1/public_html/
Double check your settings to see if your /tmp and /log folders are correct.
  • Daniel Williams
  • Daniel Williams's Avatar
22 Oct 2013 12:50
Replied by Daniel Williams on topic K2 upgrade fatal error

K2 upgrade fatal error

Category: English K2 Community

Many thanks. I have just done so and still get the same errors? Any ideas?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
22 Oct 2013 12:44
Replied by Krikor Boghossian on topic K2 upgrade fatal error

K2 upgrade fatal error

Category: English K2 Community

Try downloading a new copy and reinstalling it.
  • Daniel Williams
  • Daniel Williams's Avatar
22 Oct 2013 10:49
K2 upgrade fatal error was created by Daniel Williams

K2 upgrade fatal error

Category: English K2 Community

Hello, we recently upgraded K2 to a new version and now all pages which run K2 on our system display the following errors on the front end:


Warning: require_once(/home/pbjersey/public_html/backup1/public_html/components/com_mailto/helpers/mailto.php) [function.require-once]: failed to open stream: No such file or directory in /home/pbjersey/public_html/backup1/public_html/components/com_k2/views/item/view.html.php on line 321

Fatal error: require_once() [function.require]: Failed opening required '/home/pbjersey/public_html/backup1/public_html/components/com_mailto/helpers/mailto.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pbjersey/public_html/backup1/public_html/components/com_k2/views/item/view.html.php on line 321

Please could someone help?

Thanks
  • Suuzerd
  • Suuzerd's Avatar
21 Oct 2013 11:02 - 21 Oct 2013 11:03

[SOLVED] com_k2/tables/k2category.php on line 14 error

Category: English K2 Community

A few days ago, when working on my new website, i suddenly got a fatal error when viewing my website (in the joomla offline mode).

The first error was : Fatal error: Class 'K2Table' not found in /administrator/components/com_k2/tables/k2user.php on line 14. I looked up this error on this forum and the solution was that i had to re-order my plugins and set K2system plugin to -1. When doing so, the offline message of my website disappeard and the website was suddenly online which i do not want, so i tried an other order. The result of this re-ordering is that i now see a new fatal error:
Fatal error: Class 'K2Table' not found in administrator/components/com_k2/tables/k2category.php on line 14.

Once again, i have tried to re-order my plugins but i still cant view the frontend of my website. I have tried several orderings but no result and the PHP code seems fine. Can anybody help me?!
Displaying 461 - 480 out of 1119 results.