Fetching preview does not work for "registered" users

Started by Perfektionist, March 19, 2008, 07:01:19 AM

Previous topic - Next topic

Perfektionist

Hello!

Since recently the preview post function does not work anymore. Although it says "Fetching preview" nothing more is displayed.

I have read through a lot of posts on this forum which address the same problem. But either the nature of the request was a bit different or the suggested solutions did not apply or work. That's why I bother you with this classic once more  ;).

The error log reveals that clicking "preview" always results in following error message:
The board you specified doesn't exist

When I access the forum directly and thus circumvent Joomla (by typing URL www.myurl.net/smf) everything runs flawlessly. Therefore I suspect the bridge (by Orstio) to cause the problem.

I further noted that only those member accounts are affected which have the status "registered" in Joomla (regardless to which SMF group they belong). All other Joomla groups from Author to Super-Administrator are not affected.

This is our configuration:

Joomla 1.0.12
SMF 1.1.4
Orstio Bridge 1.1.7
Custom Profile Field Mod 3.16
Theme: Classic YaBB


SMF Forum integration: wrapped
SMF Forum integration: use SMF registration
SMF and Joomla are sharing one database.

Database Version: 5.0.32-Debian_7etch5-log
PHP Version: 5.2.0-8+etch10
Web Server: Apache
No free host

Edit: We have recently moved to another server at the same provider. Basically that included just copying files, adjusting absolute paths and re-connecting to the database which is also located at the same new webspace.

Thanks a lot for help and advise!

Perfektionist

Hi!

I have investigated further:

The problem appears on both live server and local test server.

It makes no difference whether PHP4 or PHP5 is running.

The preview works when JavaScript is disabled! If I follow this advise and cut the specified code, the preview works perfectly even with JavaScript enabled. But I dont feel very relaxed cutting code I do not understand.

Preview works fine with a fresh install of Joomla 1.0.12 + SMF 1.1.4 + Orstio-Bridge 1.1.7. This at least indicates that nothing is wrong with the server environment.

Could anyone please help?

Perfektionist

#2
I found the mistake  :) Just in case anyone else runs into the same problem, here is the solution that worked for me:

In our Joomla front-end there is a menu which is only visible for "Special"-Users. One of its items links to the SMF administration page using following URL:

index.php?option=com_smf&Itemid=5&action=admin

To this relative URL I have added my domain:

http://www.domain.com/index.php?option=com_smf&Itemid=5&action=admin

Preview is now working again on both live site and local test server. Why? No idea...  ;)

Advertisement: