Joomla 1.0.12, SMF 1.1.2 & Bridge 1.1.7
I installed SEF Advance, and have gotten everything else to work properly now, but when I try to post in the forums I get a session timed out and to retry.
Also can not log-in to admin from wrapped. Just also noticed that the forums show up fine in Firefox, but not in IE.
Hag
QuoteI installed SEF Advance, and have gotten everything else to work properly now, but when I try to post in the forums I get a session timed out and to retry.
Also can not log-in to admin from wrapped.
Try turning off database driven sessions in SMF.
QuoteJust also noticed that the forums show up fine in Firefox, but not in IE.
There is something wrong with your Theme URL. Your Joomla live site seems to be http://www.hagadoo.com , but the theme seems to have a URL setting of http://hagadoo.com . That, coupled with any form of hotlink protection will keep your images and javascript from functioning correctly.
I did have the following in .htaccess due to both HttP://www.hagadoo.com and http://hagadoo.com working:
RewriteCond %{HTTP_HOST} ^hagadoo\.com$ [NC]
RewriteRule ^(.*)$ http://www.hagadoo.com/$1 [R=301,L]
I removed it, and the forums now show up in IE okay, but still getting sessions timed out.
Turned off Database Driven and no change.
Also fixed the themes so that it looks for them in www.hagadoo.com now instead of hagadoo.com, but still can't post or log-in to admin.
The SEFAdvance component seems to be stripping out the $_POST array....
I was just looking on the site for SEF Advance, and the version that he sent me is a new version that was released 2 days ago whigh is 4.8!!! Is this what is causing the problems? The new version has different issues than 4.6 had?
Should I e-mail him and see if he can send me version 4.6 instead? Also am I going to run into issues when I uninstall?
Thanks again for all of your help!!!
Hag
Can you post the contents of your .htaccess?
#
# mod_rewrite in use
#
RewriteEngine On
# Uncomment following line if you get 403 Forbidden Error
#Options +FollowSymLinks
# Uncomment following line if your webserver's URL
# is not directly related to physival file paths.
# Update YourMamboDirectory (just / for root)
#RewriteBase /YourMamboDirectory
#
# Rules
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
Try this instead:
#
# mod_rewrite in use
#
RewriteEngine On
# Uncomment following line if you get 403 Forbidden Error
#Options +FollowSymLinks
# Uncomment following line if your webserver's URL
# is not directly related to physival file paths.
# Update YourMamboDirectory (just / for root)
#RewriteBase /YourMamboDirectory
#
# Rules
#
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.*) index.php
Get a 404 now when I click on Forums.
Oops, yeah, sorry about that.
#
# mod_rewrite in use
#
RewriteEngine On
# Uncomment following line if you get 403 Forbidden Error
#Options +FollowSymLinks
# Uncomment following line if your webserver's URL
# is not directly related to physival file paths.
# Update YourMamboDirectory (just / for root)
#RewriteBase /YourMamboDirectory
#
# Rules
#
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
forum back up, still can't log in to admin.
Yeah, as long as the $_POST variables are getting stripped out, you won't be able to login to the bridged admin panel, post messages, or login if you are logged out.
I e-mailed asking for the 4.6 version of SEF Advance, will that wolve the problem?
I should uninstall this version now correct? Also none of my Joomla menu links are working anymore
Hag
Uninstalled it, and lost everything, reinstalled and got links back atleast. Is there something that needs to be done to uninstall this?
Hag
You'll need to replace your sef.php in your includes folder with a clean one from a standard Joomla installation. For some reason, it was replaced with the same file that should reside in the components/com_sef folder.
That did it, also had to put the old htaccess in. Back to what it was before. Thanks for all the help, guess I will just wait for the 4.6 version and see what happens with that.
Thanks again,
Hag
Emir Sakic says:
"Versions 4.6 and 4.8 have no differencies whatsoever in regards to any components. They work exactly the same, especially when caching feature is turned off.
So your problems must depend on something else. If you have problems with particular component delete the component's SEF extension (sef_ext.php) or turn on ignore for that component in SEF Advance configurations.
No previous versions can be sent by me, only the latest one. If you need a previous version you must keep your own backup."
So it looks like I have to either disble it for SMF or lose out on th $56 for the Component.
Hag
since uninstalling SEF Advance, have some people that can't log-in to the site. It shows them logged in but they say they are not.
I re-installed SEF Advance and disbaled the SMF Bridge in SEF Advance and can now log into the admin of the forums and make posts, but those who are having log=in issues are still having them. It is only happening to a few users, no one else is having problems. They have tried both browsers, clearing cookies, and cache and temp files, with no avail.
This is the error they state they are getting:
<br>Warning: Cannot modify header information - headers already sent by (output started at /home/hagadooc/public_html/index.php:62) in /home/hagadooc/public_html/includes/joomla.php on line 715<br>2: Cannot modify header information - headers already sent by (output started at /home/hagadooc/public_html/index.php:62)<br>File: /home/hagadooc/public_html/components/com_smf/smf.php<br>Line: 691Database Error: Table 'hagadooc_joom1.smf_sessions' doesn't exist<br>File: /home/hagadooc/public_html/Forum/Sources/Lo
Hag
Quote<br>Warning: Cannot modify header information - headers already sent by (output started at /home/hagadooc/public_html/index.php:62) in /home/hagadooc/public_html/includes/joomla.php on line 715<br>2: Cannot modify header information - headers already sent by (output started at /home/hagadooc/public_html/index.php:62)<br>File: /home/hagadooc/public_html/components/com_smf/smf.php<br>Line: 691Database Error: Table 'hagadooc_joom1.smf_sessions' doesn't exist<br>File: /home/hagadooc/public_html/Forum/Sources/Lo
Thanks. That was a by-product of a bit of debugging code I put into your Joomla index.php to determine exactly where the $_POST array was being deleted. I've removed it now, and your login should be working.
Thanks You! Its been driving me nuts lol, was only happening to a couple people.
Thanks again,
Hag
That worked for the ones who could not sign in, but now I can't sign in to admin in the forums again.
Hag
How about if you logout and back in?
ROFL, thanks, now I don't have to sign in to the forum admin like I did before. Think I am going to have to put you on the contacts as Staff lol.
Thanks again,
Hag
This is a final update on the issue I had with version 4.8 of SEF Advance, it is now supposed to be working correctly. Below is the reply from Emir:
"This issue has been resolved now.
The problem was not that SEF Advance stripped POST variables, the problem was that SMF bridge was sending the form to an URL without trailing slash.
And, as you might know, SEF Advance redirects all requests without trailing slash to the URL with slash to create default directory server behavior.
Then, when sent to a new page with slash, POST variables were no longer present and login would fail.
Everything can be fixed by adding the trailing slash to the URL in SMF Bridge action form, but I decided to even put the fix in SEF Advance so such URLs are supported for posting. So I added a redirect prevention if POST variables are sent.
If you download the latest version (4.8.1) you will find this issue fixed. You can just replace files:
./components/com_sef/sef_incl.php
./administrator/components/com_sef/sef.xml
Thanks again for all of your help,
Hag
You can tell Emir I said thanks for the fix. I can't support putting trailing slashes on bridged URLs, because that breaks some of the URLs for SMF. The bridge actually strips them off before sending the output to avoid problems.
Very very very interessting topic - just downloading the 4.8.1
Regards, Christian