Script Declaration in Image field

More
11 years 10 months ago #38792 by brandonking
After I commented line 945, 951, and 969 in image.php, I've got another error.

Fatal error: require_once(): Failed opening required '/home/northoita/www/components/com_content/librairies/mobiledetect/Mobile_Detect.php' (include_path='.:/usr/local/php/5.4.11/lib/php') in /home/northoita/www/components/com_flexicontent/classes/flexicontent.helper.php on line 242


It should be com_flexicontent not com_content.

EDIT:
I get this error only when I access to home page(front page) where I have placed three FC universal modules.
I guess this info will be helpful.

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

More
11 years 10 months ago #38793 by brandonking
I've changed it to below.
Code:
//require_once (JPATH_COMPONENT_SITE.DS.'librairies'.DS.'mobiledetect'.DS.'Mobile_Detect.php'); require_once("components/com_flexicontent/librairies/mobiledetect/Mobile_Detect.php");

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

More
11 years 10 months ago #38797 by ggppdk
Build included 100 changed files plus new files. I either fogot to include latest file or i broke it with last minute changes . I made commit at 7 in the morning. Some mobile stuff were changed last minute because i found out that JCE editor uses same library thus you get a duplicate declaration error . Anyway these are easy to fix but you do well to report them, as soon as test this more thoroughly i will make a public build


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 10 months ago #38799 by brandonking
1. You forgot to comment on line 945, 951, and 969 in image.php.
2. If I choose PhotoSwipe, "code.photoswipe.jquery-3.0.5.min.js" file is not loaded for some reason, maybe some js conflicts as you mentioned earlier.

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

More
11 years 10 months ago #38801 by ggppdk
Hello,

your installation to latest version was not made properly, the image.php file has no syntax error

also you do not need to change anything in the new image field to use elastislide or photoswipe


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 10 months ago #38808 by brandonking
I have removed all in my SVN folder and reinstalled successfully.
But PhotoSwipe still doesn't work.
"code.photoswipe.jquery-3.0.5.min.js" file is missing..
I can not find which script conflicts with.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.368 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save