Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[SOLVED] Fatal error in product component (Joomla 1.5.24) 14 Nov 2011 16:11 #497

Hello.
Sorry for my English!
I built a componennt, it runs fine on Sanbox but when I download and install it on my website it does not work with this error message:
Fatal error: Call to undefined function json_encode() in /mnt/137/sdc/b/d/s.bordas/administrator/components/com_supervision/dom/dom.php on line 342
The component is very simply: one table with 3 fields, one backend collection (for data grid) and one backend item (for form). The error is generated after datagrid new versus form.

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

Re: Fatal error in product component (Joomla 1.5.24) 15 Nov 2011 10:08 #504

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
json_encode() is a native PHP function.

You need PHP 5.


php.net/manual/fr/function.json-encode.php
Coding is now a piece of cake

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

Re: Fatal error in product component (Joomla 1.5.24) 15 Nov 2011 11:08 #506

Sorry!
This topic is not solved because my site is under php 5.
Joomla configuration:
"
PHP exécuté sur: Linux phpn6-g5.priv.free.fr
Version de la base de données: 5.0.83
Collation de la base de données (dépend du jeu de caractères): utf8_general_ci
Version de PHP: 5.1.3RC4-dev
Serveur Web: Apache/ProXad [Aug 9 2008 02:45:12]
Du serveur Web à l'interface PHP: cgi-fcgi
Version de Joomla!: Joomla! 1.5.24 Stable [ senu takaa ama naiki ] 17-October-2011 18:00 GMT
Navigateur: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
"

A another idea?

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

Re: Fatal error in product component (Joomla 1.5.24) 15 Nov 2011 11:16 #507

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Excuse me.

Can you try you json_function() alone, please ?
Coding is now a piece of cake

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

Re: Fatal error in product component (Joomla 1.5.24) 15 Nov 2011 11:27 #508

I found
I have re-upload dom folder in administrator folder. It was success.
Maybe a problem in install compilation?

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

Re: Fatal error in product component (Joomla 1.5.24) 15 Nov 2011 12:05 #509

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
We constantly modify the source codes everwhere, even in JDOM.
When you regenerate your component, it is important to reuse ALL files.

Maybe it is not your problem, but I precise for others, that we can't be responsibilized if you split your component and add some parts (coming from Cook too) afterwards.
Coding is now a piece of cake

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

  • Page:
  • 1
Time to create page: 0.065 seconds

  I am so so so looking forward to see how far this can go. Seems like the skies the limit at the moment.
Kevin (Forum) 

Get Started