Please login or register.

Login with username, password and session length
Advanced search  

News:

Anzeige:

SOBI2 Featured Listings Plugin
Featured Listings
SOBI2 Radius Distance Search Plugin
Radius Distance Search
SOBI2 Import & Backup Plugin
SOBI2 Import & Backup
SOBI2 Search Module
Search Module
SOBI Donation/Spende
Pages: [1] 2 3   Go Down

Author Topic: Sobi sef not working properly  (Read 1802 times)

0 Members and 1 Guest are viewing this topic.

Valdonatas

  • SOBI Newbie
  • *
  • Thanx from users: 0
  • Offline Offline
  • Posts: 7

  • Reviews:

    What is it?

Sobi sef not working properly
« on: 04. February 2010, 12:32:53 »
Helo,

I am using mod_mainmenu extended menu items, to point to sobi categories and subcategories. And I am using joomla seo, sobisef.
When I first created all menu items everything seemed to work. After deleting one of sobi categories, I get wrong urls on all other menu items when I go into detailsview.
Instead of having url like: http://www.domain.com/menuitemparentalias/menuitemchildalias/sobicategory/entrytitle, and a details view


I get: http://www.domain.com/component/sobi2/_catid/number/entrytitle and all my entries listed (and obviously left menu disapears - activated only on certain menu items).
I know it is something wrong with sef urls, but cannot find what. Please help.

Besides, if try to enter a new entry, I get errors, styling messed-up and error message is this:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/nuopamat/public_html/components/com_sobi2/plugins/sobisef/sobisef.class.php on line 392


P.S. I am using joomla 1.5.15, latest sobi, .htacess (if it matters).
« Last Edit: 05. February 2010, 11:44:01 by Valdonatas »
Logged
Country: Lithuania Lithuania |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.7 Firefox 3.5.7 |  View Profile
Do you want continued ongoing development, new features and active support?
Please write a review or just vote for SOBI on JED.

aboututila

  • Moderator
  • SOBI Hero
  • *
  • Thanx from users: 241
  • Offline Offline
  • Posts: 1896

  • Reviews:

    What is it?

Re: Sobi sef not working properly
« Reply #1 on: 04. February 2010, 20:39:12 »
Valdonatas,

The problems you describe are usually caused by incorrect configuration.
I strongly recommend you read and comply with SobiSEF Plugin Configuration Essentials.
If the above does not solve your problem, then more information is needed.

Specifically, what versions of
SOBI2
SobiSEF
are you using?
(and please do not say 'the latest version').
A link to the 'page' on your Web Site that has the problem would be helpful.

Regards - Mark
Logged
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.7 Firefox 3.5.7 |  View Profile

Valdonatas

  • SOBI Newbie
  • *
  • Thanx from users: 0
  • Offline Offline
  • Posts: 7

  • Reviews:

    What is it?

Re: Sobi sef not working properly
« Reply #2 on: 05. February 2010, 11:09:57 »
Helo,

I am using sobi RC 2.9.2.3  and sobisef RC 1.6.
Strangely for some time sobisef seems to be working properly and then it stops working. I have read the configuration essentials - was very useful (one thing I did not do - I did not have any menu item pointing to sobi frontpage). I fixed that and as I said sobisef seemed to start working properly, but today again I get mistakes - under some menu items, pointing to sobi subcategories

I get listing fine but when I want to go into details view, I get list of all entries.
These menuitems and sobi subcategories are all configured same way as the rest (that are working). Strangely, if I want to disable sobisef, I cannot do that in plugin manager - it shows as disabled, but the links are still sef. And before disabling I purged (deleted all sobisef entries). I could only disable sef url by uninstalling sobisef. When links are not sef, everything works fine. I install sobisef, again I get same mistakes. Besides, if I completely uninstall sobisef (tables as well), and install it back again, I get all settings same as what the were before uninstalling. So where all the settings are saved apart from the sobisef table in database and sobisef_init file?
The listing view url (where I get error): http://nuopamatu.lt/statybiniai-darbai/medzio-konstrukcijos
The details view url: http://nuopamatu.lt/statybiniai-darbai/medzio-konstrukcijos/_catid/105/uab-primtela%3a-mediniu-stogo-konstrukciju-projektavimas-ir-gamyba.html - instead of getting details view, I get all entries listed.

The correct listing url (where same entry is shown fine):http://nuopamatu.lt/statybiniai-darbai/stogo-darbai
The correct details view url (of the same entry): http://nuopamatu.lt/statybiniai-darbai/stogo-darbai/_catid/98/uab-primtela%3a-mediniu-stogo-konstrukciju-projektavimas-ir-gamyba.html


Also, I noticed that sobisef is creating few urls (showed in configuration ->manage sobisef urls) for the same entry under same subcategory, like below:

            

external: /statybiniai-darbai/stogo-darbai/uab-primtela:-mediniu-stogo-konstrukciju-projektavimas-ir-gamyba.html
internal: index.php?option=com_sobi2&sobi2Task=sobi2Details&catid=98&sobi2Id=29&Itemid=160          

external:    /statybiniu-medziagu-pardavejai-tiekejai-imones/medienos-prekybos-imones-lentpjuves/uab-primtela:-mediniu-stogo-konstrukciju-projektavimas-ir-gamyba.html
internal:  index.php?option=com_sobi2&sobi2Task=sobi2Details&catid=105&sobi2Id=29&Itemid=232

external: /statybiniu-medziagu-pardavejai-tiekejai-imones/medienos-prekybos-imones-lentpjuves/uab-primtela:-mediniu-stogo-konstrukciju-projektavimas-ir-gamyba.html     
internal: index.php?option=com_sobi2&sobi2Task=sobi2Details&catid=59&sobi2Id=29&Itemid=198 

external: /statybiniu-medziagu-pardavejai-tiekejai-imones/medienos-prekybos-imones-lentpjuves/uab-primtela:-mediniu-stogo-konstrukciju-projektavimas-ir-gamyba.html
internal: index.php?option=com_sobi2&sobi2Task=sobi2Details&catid=103&sobi2Id=29&Itemid=165

external: /statybiniu-medziagu-pardavejai-tiekejai-imones/medienos-prekybos-imones-lentpjuves/uab-primtela:-mediniu-stogo-konstrukciju-projektavimas-ir-gamyba.html
internal: index.php?option=com_sobi2&sobi2Task=sobi2Details&sobi2Id=29&Itemid=165

external:   /statybiniu-medziagu-pardavejai-tiekejai-imones/medienos-prekybos-imones-lentpjuves/uab-primtela:-mediniu-stogo-konstrukciju-projektavimas-ir-gamyba.html
internal: index.php?option=com_sobi2&sobi2Task=sobi2Details&catid=0&sobi2Id=29&Itemid=165

external: /statybiniu-medziagu-pardavejai-tiekejai-imones/medienos-prekybos-imones-lentpjuves/uab-primtela:-mediniu-stogo-konstrukciju-projektavimas-ir-gamyba.html
internal: index.php?option=com_sobi2&sobi2Task=sobi2Details&catid=1&sobi2Id=29&Itemid=165

external: /statybiniu-medziagu-pardavejai-tiekejai-imones/medienos-prekybos-imones-lentpjuves/_catid/105/uab-primtela:-mediniu-stogo-konstrukciju-projektavimas-ir-gamyba.html
internal: index.php?option=com_sobi2&sobi2Task=sobi2Details&____catid=105&sobi2Id=29&Itemid=232

Is that normal? I noticed that in this list there is no url of that non working menuitem listing (url for details view). As I have checked, none of external links are showing details view, although it should judging by the last part of the url
« Last Edit: 05. February 2010, 12:16:56 by Valdonatas »
Logged
Country: Lithuania Lithuania |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.7 Firefox 3.5.7 |  View Profile

aboututila

  • Moderator
  • SOBI Hero
  • *
  • Thanx from users: 241
  • Offline Offline
  • Posts: 1896

  • Reviews:

    What is it?

Re: Sobi sef not working properly
« Reply #3 on: 05. February 2010, 18:47:46 »
Valdonatas,

(1)
Strangely, if I want to disable sobisef, I cannot do that in plugin manager - it shows as disabled, but the links are still sef.
Very strange, unless you have caching enabled.

(2)
I install sobisef, again I get same mistakes. Besides, if I completely uninstall sobisef (tables as well), and install it back again, I get all settings same as what the were before uninstalling. So where all the settings are saved apart from the sobisef table in database and sobisef_init file?
Good question!
... and unfortunately I do not know the answer without going through the SOBI code in detail and investigating how SOBI2 plugins save their configuration settings. Sorry, but I do not have enough spare time available to do this at this time.

(3)
The listing view url (where I get error): http://nuopamatu.lt/statybiniai-darbai/medzio-konstrukcijos
The details view url: http://nuopamatu.lt/statybiniai-darbai/medzio-konstrukcijos/_catid/105/uab-primtela%3a-mediniu-stogo-konstrukciju-projektavimas-ir-gamyba.html - instead of getting details view, I get all entries listed.
This is SOBI2's default behaviour. If it cannot resolve a URL it redirects to the Frontpage
Refer Joomla Administrator->Components->SOBI2->Configuration->Registry Editor->Section: [redirects]

(4) Looking at the External (SEF) URL's you posted, I am beginning to wonder if your problem may be because SOBI2/SobiSEF is having difficulty creating SEF URL's with the Lithuanian language character set you are using.

Note - URLs can only be encoded using the ASCII character-set.
Note - Allowed Character Set - only alphanumerics [0-9a-zA-Z], the special characters "$-_.+!*'()," (not including the double quotes), and reserved characters, (such as '/' and ':'), used for their reserved purposes, may be used unencoded within a URL."

For a non-English language, the construction of SEF URLs may often be derived from characters not included in the Allowed Character Set. In this case,  the URL characters have to be converted. URL encoding converts the URL into a valid ASCII format.

For example, the 'ž' in 'Medžio konstrukcijos' would need to be replaced with the character encoding '%9E'
Refer HTML URL Encoding Reference
URL Encoding

I note that the URL reserved character ':' is appearing incorrectly in some of your External URL's.
For example
external: /statybiniai-darbai/stogo-darbai/uab-primtela:-mediniu-stogo-konstrukciju-projektavimas-ir-gamyba.html
internal: index.php?option=com_sobi2&sobi2Task=sobi2Details&catid=98&sobi2Id=29&Itemid=160
Observe the string contained in the External URL - /uab-primtela:-mediniu
The ':' character is not allowed in this position (between primtela and -mediniu).

I would suggest that you look at
Joomla Administrator->Components->SOBI2->Plugins->SobiSEF->Replacements->Replace these Characters
and define an appropriate Character Replacement set for the Lithuanian language

I hope this helps - Mark
PS: UPDATE - I have now added an Item (13) to SobiSEF Plugin Configuration Essentials to address the issue of non-English Language character sets.
« Last Edit: 05. February 2010, 19:36:14 by aboututila »
Logged
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.7 Firefox 3.5.7 |  View Profile

Valdonatas

  • SOBI Newbie
  • *
  • Thanx from users: 0
  • Offline Offline
  • Posts: 7

  • Reviews:

    What is it?

Re: Sobi sef not working properly
« Reply #4 on: 05. February 2010, 20:37:35 »
Quote
Very strange, unless you have caching enabled.
caching is disabled.

Quote
(4) Looking at the External (SEF) URL's you posted, I am beginning to wonder if your problem may be because SOBI2/SobiSEF is having difficulty creating SEF URL's with the Lithuanian language character set you are using.
I don't think this is a language problem, because I get same error where only latin letters are used:
same listing url: http://www.nuopamatu.lt/statybiniai-darbai/medzio-konstrukcijos
details view url (of another entry in that subcat where no lithuanian letters are used):
http://www.nuopamatu.lt/statybiniai-darbai/medzio-konstrukcijos/muro-darbai-namu-statyba-teritorijos-tvarkymas.html
same problem. What could be happening here?
And this is only happening so far only in this listing and one other:
http://www.nuopamatu.lt/paruosiamieji-darbai/architektai-projektuotojai
where only entry details view of entry with url: http://www.nuopamatu.lt/paruosiamieji-darbai/architektai-projektuotojai/_catid/13/interjero-atelje-uab.html is displayed again as root.

By the way, I have tried replacement of characters as you adviced and no : is displayed any more in url and I have changed the character Ž into ascii as adviced - same thing.
Logged
Country: Lithuania Lithuania |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.7 Firefox 3.5.7 |  View Profile

aboututila

  • Moderator
  • SOBI Hero
  • *
  • Thanx from users: 241
  • Offline Offline
  • Posts: 1896

  • Reviews:

    What is it?

Re: Sobi sef not working properly
« Reply #5 on: 05. February 2010, 22:25:51 »
Valdonatas,

It is extremely difficult for me to diagnose your problems because I do not understand the Lithuanian language,

A clue to the problem may be;
(1) at the URL
http://www.nuopamatu.lt/paruosiamieji-darbai/architektai-projektuotojai
two SOBI2 Entries are displayed;
(a) INTERJERO ATELJĖ, UAB
and
(b) INŽINERINĖS IDĖJOS, UAB

(2) If I examine the link URL's for these entries, then for the entry with
(a) Title = INTERJERO ATELJĖ, UAB
The URL for the Title is http://www.nuopamatu.lt/paruosiamieji-darbai/architektai-projektuotojai/interjero-atelje-uab.html
and
The URL for the icon/image is http://www.nuopamatu.lt/paruosiamieji-darbai/architektai-projektuotojai/_catid/13/interjero-atelje-uab.html

(b) Title = INŽINERINĖS IDĖJOS, UAB
The URL for the Title is http://www.nuopamatu.lt/paruosiamieji-darbai/architektai-projektuotojai/inzinerines-idejos-uab.html
and
The URL for the icon/image is http://www.nuopamatu.lt/paruosiamieji-darbai/architektai-projektuotojai/_catid/13/inzinerines-idejos-uab.html

Obviously a problem here.

(3) I believe you are using a Custom V-Card Template to show a gallery image for each SOBI2 Entry. I am not very familiar with the Gallery plugin. Are you using the latest version RC 2.4 of the Gallery plugin (Refer http://www.sigsiu.net/download/sobi2_plugins/gallery_plugin.html)
I do not know if you have to add a link to the details view for the Gallery plugin or if the plugin does that for you.
If you have to manual add a link to the Details view for the Gallery plugin image in your V-Card Template, does that link conform to SobiSEF Plugin Configuration Essentials - Item (9)?

Regards - Mark
If so,
Logged
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.7 Firefox 3.5.7 |  View Profile

Valdonatas

  • SOBI Newbie
  • *
  • Thanx from users: 0
  • Offline Offline
  • Posts: 7

  • Reviews:

    What is it?

Re: Sobi sef not working properly
« Reply #6 on: 06. February 2010, 09:20:30 »
Mark,

I have now updated my gallery plugin to rc 2.4 (was using RC 2.3).

I am using <?php echo $plugins["gallery"]; ?> to display image from gallery plugin in v-card view - there is now way other than changing code of the gallery plugin (which I am not capable of :) ).

You said the problem could be in different url path for the image and title:

The URL for the Title is http://www.nuopamatu.lt/paruosiamieji-darbai/architektai-projektuotojai/interjero-atelje-uab.html
and
The URL for the icon/image is http://www.nuopamatu.lt/paruosiamieji-darbai/architektai-projektuotojai/_catid/13/interjero-atelje-uab.html

But all other entries which are working have same issues - different urls for the gallery image and for the sobi component field (as title in my case). I think that's just the way gallery plugin is working.
I noticed that in the root list, however, the gallery image is showing proper url (same as title).

Regards,
Donatas
« Last Edit: 06. February 2010, 10:09:22 by Valdonatas »
Logged
Country: Lithuania Lithuania |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.7 Firefox 3.5.7 |  View Profile

aboututila

  • Moderator
  • SOBI Hero
  • *
  • Thanx from users: 241
  • Offline Offline
  • Posts: 1896

  • Reviews:

    What is it?

Re: Sobi sef not working properly
« Reply #7 on: 06. February 2010, 16:53:41 »
Valdonatas,

Hmm...
Again - it is extremely difficult for me to diagnose your problems because I do not understand the Lithuanian language,
but I think your problems lie with the Gallery Plugin which seems to be creating 'incorrect' SEF URL's linking to the Details View for the images displayed by the plugin in the V-Card view which are different from the SEF URL's created for the SOBI2 Title linking to the Details View.

I will contact the Gallery plugin Author (urbanlives) and see if he can diagnose the problem.
I have also added a note to your other posting Re: Gallery image (list view) shows different url from sobi field (title) url

Regards - Mark
« Last Edit: 06. February 2010, 17:26:34 by aboututila »
Logged
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.5.7 Firefox 3.5.7 |  View Profile

ghost999

  • SOBI Newbie
  • *
  • Thanx from users: 0
  • Offline Offline
  • Posts: 7

  • Reviews:

    What is it?

Re: Sobi sef not working properly
« Reply #8 on: 26. May 2010, 22:57:16 »
Dear All. This is my first post in this forum. Firstly I want to thank Mark for his dedicated help to many bugs/questions.

My config :
WAMP - testing on localhost  only
PHP v5.3.0
MySQL v5.1.36
Joomla v1.5.17
Joomfish v2.0.4 (working with Sobi2)
Sobi2 RC 2.9.2.4
Joomla Sef, Sobi Sef activated

My story with Sobi2 started about month ago and I analyzed info from this forum lot of hours.
Currently I have Sobi2 working with 4 level nested subcategories. Total number of categories and subcategories is 302.

I have similar problem as others with entry link. I understand that if is not link resolved it points to frontpage.
All sobi2 categories which are already linked in joomla menu working perfect and linking to entry and entry link to V-card.
However if I add sample entry to category (ies) which are not linked in main menu, result is front page with all
 entries and not detailed view (as expected).

I see solution to make hundreds of menu items with parameter special...but it is not elegant way.

Have you any idea how to solve this?

Thanks.


Logged
Country: Slovakia Slovakia |  OS: Windows XP Windows XP |  Browser: Chrome 4.1.249.1064 Chrome 4.1.249.1064 |  View Profile

aboututila

  • Moderator
  • SOBI Hero
  • *
  • Thanx from users: 241
  • Offline Offline
  • Posts: 1896

  • Reviews:

    What is it?

Re: Sobi sef not working properly
« Reply #9 on: 29. May 2010, 00:02:19 »
Have you checked that your configuration is in accordance with SobiSEF Plugin Configuration Essentials?
Especially SobiSEF Plugin Configuration Essentials - Item 6
which says;
You MUST have at least one Joomla! Menu Item (created using SOBI2 Extended Menu Items)
linking to the SOBI2 Front Page [which is also the Root Category] (index.php?option=com_sobi2).

Regards - Mark
« Last Edit: 29. May 2010, 21:20:28 by aboututila »
Logged
Country: Honduras Honduras |  OS: Windows XP Windows XP |  Browser: Firefox 3.6.3 Firefox 3.6.3 |  View Profile
Pages: [1] 2 3   Go Up
« previous next »
 

Page created in 0.752 seconds with 29 queries.

Partner Sites: Joomla Web Design  |  Yagendoo Templates  |  LayDev - Joomla Templates  |  Joomla Downloads  |  CyberTyper.ch  |  Codingfish  |  Akeeba Backup  |  FLEXIcontent  |  templates4ALL  |  Joomla! InSecurity