No such file or directory

Phoca Gallery - image gallery extension
lcbarker
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 10 Dec 2012, 05:44

No such file or directory

Post by lcbarker »

I've read through several topics with similar error but with different error message.

I am working with learning/testing Joomla 3.0 on a personal computer using XAMPP. I have installed Phoca Gallery successfully, I think. At least it shows in the list of Components. When I click on Phoca Gallery in the Component list I get the following error:
Warning: require_once(J:\xampp\htdocs\personal/administratorDScomponentsDScom_phocagalleryDSlibrariesDSloader.php): failed to open stream: No such file or directory in J:\xampp\htdocs\personal\administrator\components\com_phocagallery\phocagallery.php on line 16
The offending line of code is:

Code: Select all

 require_once( JPATH_ADMINISTRATOR.DS.'components'.DS.'com_phocagallery'.DS.'libraries'.DS.'loader.php');
It appears that the DS (Directory Separators) are not getting translated correctly, but I don't know why or how to fix.

Any help is appreciated. The Gallery seems to be well regarded and I look forward to using it once I can get through this roadblock.

Thanks

Les
benjamin.werner
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 14 Dec 2012, 11:45

Re: No such file or directory

Post by benjamin.werner »

Hello,

First of all, thanks to phoca for the good job.


i am also interessted in a solution for this problem. I am also testing joomla 3 and want to use the phoca-tools (because of the good experiences in the past).

I have manually chanced the line but it will not work. then i became an error with the inheriting from the JController-Class.

thanks

Benjamin
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No such file or directory

Post by Jan »

Hi, on my localhost, the version for Joomla! 3 will be ready soon - I am overwriting it (anyway I am overwriting it over 5 months - it must be completely overwritten as joomla 3 is different to joomla 2.5 and has no backward compatibility, so really not so easy to only make some small changes to version which works under 2.5) ... I hope, within a couple of days I will be able to release Phoca Gallery 4 Alpha.

Jan
If you find Phoca extensions useful, please support the project
mennoid
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 24 Feb 2013, 13:30

Re: No such file or directory

Post by mennoid »

Warning: require_once() [function.require-once]: Unable to access /home/anderzic/public_html/administratorDScomponentsDScom_phocagalleryDSlibrariesDSloader.php in /home/anderzic/public_html/plugins/content/phocagallery/phocagallery.php on line 20

Warning: require_once(/home/anderzic/public_html/administratorDScomponentsDScom_phocagalleryDSlibrariesDSloader.php) [function.require-once]: failed to open stream: No such file or directory in /home/anderzic/public_html/plugins/content/phocagallery/phocagallery.php on line 20

Fatal error: require_once() [function.require]: Failed opening required '/home/anderzic/public_html/administratorDScomponentsDScom_phocagalleryDSlibrariesDSloader.php' (include_path='/home/anderzic/public_html/administrator/components/com_gcalendar/libraries:.:/usr/lib/php:/usr/local/lib/php') in /home/anderzic/public_html/plugins/content/phocagallery/phocagallery.php on line 20

Extract from Extension Manager
Naam Locatie Status Type Versie Datum Auteur Map ID
Phoca Favicon Beheergedeelte Component 2.0.1 12/09/2011 Jan Pavelka (https://www.phoca.cz) N/B 10006
Phoca Gallery Beheergedeelte Component 3.2.2 01/10/2012 Jan Pavelka (https://www.phoca.cz) N/B 10003
Phoca Gallery Image Module Website Module 3.2.0 10/05/2012 Jan Pavelka (https://www.phoca.cz) N/B 10066
Phoca Gallery Plugin Website Plugin 3.2.0 05/04/2012 Jan Pavelka (https://www.phoca.cz) content 10065
I think my problem is related to the above mentioned ones. I installed the 4.0.0.alpha3
Would be wonderful if anyone can help me out correcting what seems to go wrong. This error forces me to shut down the phoca gallery on my website temporarily, otherwise it will not load...

Thanks for all the good work. I love this component. :twisted: :P
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: No such file or directory

Post by Jan »

Hi, yes, the content plugin is not ready for Joomla! 3. New one needs to be written.
Jan
If you find Phoca extensions useful, please support the project
Post Reply