[Fixed in r1409] FC 2.0 issues with sh404SEF?

More
13 years 8 months ago #25458 by hede
In the current version of FC I get the following error as soon as I switch on sh404SEF:
libraries\joomla\database\database\mysqli.php on line 498
The Joomla internal SEF works fine. Cheers

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

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

More
13 years 8 months ago #25474 by ggppdk
we will contact developer for this, we have an open issue in bug bug-tracker for this, so we will probably support it.

Regards


-- 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 review. Thanks!

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

More
13 years 6 months ago #27039 by AsCiix
Same error here, with:
FLEXIcontent version 2.0 RC6 (r1368)

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

More
13 years 6 months ago #27041 by ggppdk
mmm, have not tested yet, but we have made some fixes recently regarding SEF handling?

which FLEXIcontent view gives this error? category view? item view? other?


-- 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 review. Thanks!

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

More
13 years 6 months ago #27131 by AsCiix
Tried in every views and I get...

Fatal error: Class '' not found in ../libraries/joomla/database/database/mysqli.php on line 498

Using:
- sh404sef 3.5.1.1299
- Joomla! 2.5.6
- FLEXIcontent version 2.0 RC6 (r1368)

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

More
13 years 6 months ago #27134 by yopyop001
Hi,

May be it's not a good idea, but you can try to replace line 122 (com_flexicontent/sef_ext/com_flexicontent.php)
Code:
$row = $database->loadObject (null, false);

by
Code:
$row = $database->loadObject ();

It works for me.

Regards

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

More
13 years 6 months ago #27137 by AsCiix
Yep it's working now!

Thk you =)

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

More
13 years 6 months ago #27143 by micker
i edit post to mark solved

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
13 years 6 months ago #27222 by ggppdk
1. In J1.5 function signature is
Code:
function loadObject( )
2. In J2.5 function signature is
Code:
function loadObject($class = 'stdClass')
-- In both cases, you should call it like
$row = $database->loadObject ();

-- Just in J1.5, if you have Joomfish installed, then the database class is extended and the function becomes:
Code:
function loadObject( &$object, $translate=true, $language=null )
meaning that when not translating, we should call it like:
Code:
$row = $database->loadObject ( null, $translate=false );
In J2.5, the correct call is really:
$row = $database->loadObject ();

will check this further and fix


-- 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 review. Thanks!

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

More
13 years 6 months ago #27226 by hede
This fix works so far that no 500 is thrown anymore. Thats cool. But some parameters of sh404 for building the links are ignored, e.g. I dont want catagories involved in the SEF links but that setting within sh404 is ignored and all categories an article is assigned to are part of the url. I dont know what component is responsible for ignoring that setting.

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

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

Moderators: vistamediajoomlacornerggppdk
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