Joseph L. LeBlanc
homeportfoliojoomlabiocontactblog
articles
guides
tutorials
all
forum
Subscribe in NewsGator Online

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!



FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
Re:JDate error (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 1
TOPIC: Re:JDate error
#2368
jofori (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
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.
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/11/26 17:12 By jofori.
  The administrator has disabled public write access.
#2370
jleblanc (Admin)
Admin
Posts: 646
graph
User Online Now Click here to see the profile of this user
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.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2375
despot (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
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
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2376
wavne (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
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.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2378
giofar (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
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();
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/12/02 11:36 By giofar.
  The administrator has disabled public write access.
#2379
despot (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
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);
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/12/02 11:53 By despot.
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop