Page 1 of 1
Class 'JFile' not found category.php on line 397
Posted: 23 Jul 2009, 11:11
by vidapura
Hi,
Phoca gallery is looking great.
I am testing it before I put it live.
I have learned that I must create the categories for the users before they can upload pictures.
Thats OK.
So I made a few categories.. and they are empty.
But then when a user tries to do a Single File Import into an empty category they see the following error:
Code: Select all
Fatal error: Class 'JFile' not found in /home/mysite/public_html/components/com_phocagallery/controllers/category.php on line 397
When there is already something in the category then the Single File Import works just fine. This only happens when the category is empty.
If I can provide more information to help then please let me know.
Thanks
Vida
Re: Class 'JFile' not found category.php on line 397
Posted: 23 Jul 2009, 18:16
by Jan
Hi, do you use the last version?
I am testing it and got no problem. the JFile class is loaded there so it is found
Please let me know exactly where you get problems (which situation and where)
Jan
Re: Class 'JFile' not found category.php on line 397
Posted: 23 Jul 2009, 18:37
by vidapura
Hi jan,
Yes I'm using the latest version .. I think.. com_phocagallery_v2.5.0.zip yes?
Its important when you try to reproduce the problem that you are trying to upload images into a new/empty category. The category must use a new directory.
I can reproduce this problem on live server and on WAMP install on my desktop machine.
(I wish I knew how to set up a development/debugging environment so that I could give you better information.
Is there other information I can provide?
Thanks
Vida..
My Joomla site info is:
PHP Built on: Linux lh34.dnsireland.com 2.6.9-67.ELsmp #1 SMP Fri Nov 16 12:48:03 EST 2007 i686
Database Version: 5.0.67-community
Database Collation: utf8_general_ci
PHP Version: 5.2.9
Web Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.9
Web Server to PHP interface: apache2handler
Joomla! Version: Joomla! 1.5.9 Production/Stable [ Vatani ] 9-January-2009 23:00 GMT
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; Creative ZENcast v1.02.08; .NET CLR 3.0.04506.648)
Re: Class 'JFile' not found category.php on line 397
Posted: 23 Jul 2009, 22:19
by Jan
Hi, I have paste some code, which loads JFile class if this is not loaded (before the line where the problem occurs)
I will release 2.5.2 version soon, so please upgrade then and let me know.
Jan
Re: Class 'JFile' not found category.php on line 397
Posted: 24 Jul 2009, 01:35
by vidapura
Could you put the new code here? I can make the change myself then?
Vida.
Re: Class 'JFile' not found category.php on line 397
Posted: 24 Jul 2009, 13:53
by Jan
The 2.5.2 was released, so please upgrade
Re: Class 'JFile' not found category.php on line 397
Posted: 24 Jul 2009, 16:23
by vidapura
Oh, I'm sorry.. didn't see it was released... will try upgrading and let you know how I get on..
Thanks very much Jan,
Vida.
Re: Class 'JFile' not found category.php on line 397
Posted: 29 Jul 2009, 02:10
by Jan
Ok