|
|
|
Learning Joomla! for the first time? Buy the Joomla! 1.5 Essential training CD-ROM or watch it on Lynda.com.
|
Welcome to Joseph LeBlanc's Joomla development forum. This forum is primairly intended to discuss the development of components I've authored, such as the podcasting suite and Daily Message tutorial. Although I happily answer general questions about Joomla, you may get quicker answers by searching the Joomla forums.
Due to spam abuse, you must register to post in the forums. However, you are allowed to browse the forums without registration. Commercially-oriented, off-topic messages are $100 per word, thank you for understanding!
|
Re:JDate error (1 viewing) (1) Guest
Favoured: 1
|
|
|
TOPIC: Re:JDate error
|
jofori (User)
Fresh Boarder
Posts: 1
|
|
Re:JDate error Learning Joomla! 1.5 Extension Deve 1 Month, 1 Week ago
|
Karma: 0
|
|
Hi Joseph, I just bought the Ebook version today and I am receiving similar errors "Fatal error: Class 'JDate' not found in ..." and i'm only on Chapter 3/4. I have sent you an email.
Please can I have the updated code ASAP.
Learning Joomla! 1.5 Extension Development Creating Modules, components, and Plug-Ins with PHP
**********If anyone else can help with the new code I would really appreciate it!***************
regards
J.
|
|
|
|
|
|
|
Last Edit: 2008/11/26 17:12 By jofori.
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:JDate error Learning Joomla! 1.5 Extension Deve 1 Month ago
|
Karma: 15
|
|
Thanks for buying my book! I've sent a copy of the updated code via email.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
despot (User)
Fresh Boarder
Posts: 2
|
|
Re:JDate error 1 Month ago
|
Karma: 0
|
|
Hi admin,
I update today fresh copy of code from Pakt publishing site, and still got a error:
Fatal error: Class 'JDate' not found in D:\xampp\htdocs\032\administrator\components\com_reviews\controller.php on line 58
I use latest xampp and Joomla 1.5.8
What I can do to resolve this error.
Regards, Momir
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
wavne (User)
Fresh Boarder
Posts: 7
|
|
Re:JDate error 1 Month ago
|
Karma: 2
|
|
I am also still having the error. I am using WampServer v2.0. My config is: MySQL v5.0.51a. ,PHP v5.2.6, Apache v1.3.39. No settings have been modified from default, just the versions of software to emulate my providers versions.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
giofar (User)
Fresh Boarder
Posts: 4
|
|
Re:JDate error 1 Month ago
|
Karma: 0
|
|
questo funziona!!
controller.php
copia e sostituisci
58 $date =& JFactory::getDate($row->review_date);
59 $row->review_date = $date->toMySQL();
|
|
|
|
|
|
|
Last Edit: 2008/12/02 11:36 By giofar.
|
|
|
The administrator has disabled public write access.
|
despot (User)
Fresh Boarder
Posts: 2
|
|
Re:JDate error 1 Month ago
|
Karma: 0
|
|
Thanks a lot. Admin part is working now, but I have frontend error wen user try to make a comment:
Fatal error: Class 'JDate' not found in D:\xampp\htdocs\032\components\com_reviews\controller.php on line 39
Did I use same class in site/component folder as you suggest for admin part?
Regards
Momir
Hi again. I got answer myself on previous question.
I changed line 39 in site root/components/com_reviews and this is new line 39 is:
$currDate =& JFactory::getDate($row->review_date);
|
|
|
|
|
|
|
Last Edit: 2008/12/02 11:53 By despot.
|
|
|
The administrator has disabled public write access.
|
|
|
|
|