Home arrow Forum Strange Problem
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 05, 2008, 12:22:05 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Strange Problem
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Strange Problem  (Read 2156 times)
Phil
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 14


View Profile
Strange Problem
« on: November 26, 2006, 04:47:35 AM »

After several hours perseverance and help and advice on this forum, I finally got everything to work....so I thought.

My setup is:

Joomla 1.0.11
SMF 1.1RC3
JMSF 2 ORC3

Then this happened:

When I go directly to the forum http://domain.com/smf log in I can post without error.

When I try to post in wrapped mode, I can edit the post but it will not save it.

although I have done it correctly I get an error message on the editor saying:

The following error or errors occurred while posting this message:
Your session timed out while posting. Please try to re-submit your message.
No subject was filled in.
The message body was left empty.


Now I am Stumped!!

Any help greatly appreciated.

Br Phil




Logged
Phil
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 14


View Profile
Re: Strange Problem
« Reply #1 on: November 26, 2006, 02:35:33 PM »

Another one,

When I try to update my profile from within Joomla and try to submit the changes, I get This:

An Error Has Occurred!
The user whose profile you are trying to view does not exist.

The URL: http://www.ourbulgarianworld.com

BR

Phil

« Last Edit: November 26, 2006, 02:37:25 PM by Phil » Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Strange Problem
« Reply #2 on: November 26, 2006, 04:52:33 PM »

my first suggestion is to download the user guide and make sure your SMF settings are correct.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Phil
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 14


View Profile
Re: Strange Problem
« Reply #3 on: November 27, 2006, 01:13:30 AM »

Hi Wolverine,

Thank you for your response.

I downloaded the user guide prior to installation and set up SMF accordingly.

The settings are as stipulated in the manual.

The forum works perfectly in stand alone mode.  I have tried both wrapped and unwrapped modes through Joomla and both have the same problem.

BR

Phil
Logged
p9939068
Joomla Expert
****

Karma: +18/-5
Offline Offline

Posts: 173


View Profile WWW
Re: Strange Problem
« Reply #4 on: November 27, 2006, 03:27:57 AM »

I tried to register to make a post but your captcha system is preventing me from registering..
Logged

-----
Owner of http://mike.simbunch.com
Creator of ParaInvite, AJAX Sandbox, AJAX SMF Polls, Profile URL etc..
Phil
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 14


View Profile
Re: Strange Problem
« Reply #5 on: November 27, 2006, 04:30:49 AM »

Sorry about that.

I have now removed the captcha system.

BR

Phil
Logged
Phil
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 14


View Profile
Re: Strange Problem
« Reply #6 on: November 27, 2006, 10:07:11 AM »

The posts are now saving.  I switched off the Joomla SEF URLs.

I also have SEF Advance installed which now seems to be redundant.

BR

Phil
Logged
greg
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 9


View Profile WWW
Re: Strange Problem
« Reply #7 on: November 27, 2006, 12:35:00 PM »

The problem is in the file components/com_smf/smf.class.php
in the function fixBuffer(). Around line 420

Try to put that:
Code:
if (strpos($link, '"') !== FALSE) {
    $parts = explode('"', $link);
    $link = $parts[1];
}
right before the line:
Code:
$new_link = $type . '="' . $this->fixLink($link) . '"';

And so SEF Advance can work ...and the smf login too..

Hope it help
 Wink

Logged

Joomla 1.0.12
SMF 1.1.2
JSMF 2.0.2a
98% ok (slash "/" issue on the url when log out from the JSMFlogin module)
Phil
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 14


View Profile
Re: Strange Problem
« Reply #8 on: November 27, 2006, 01:42:01 PM »

Hi Greg,

Tried that...didn't fix the problem.

I think it is not SMF but a Joomla/SEF Advance Issue.

BR

Phil
Logged
greg
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 9


View Profile WWW
Re: Strange Problem
« Reply #9 on: November 27, 2006, 04:03:36 PM »

sorry for that Undecided

But I saw that it works now
Quote from: phil
The problem we had with posting is now solved.

The forum is finally up and running!!

ENJOY 


So what was it ?  Huh
Logged

Joomla 1.0.12
SMF 1.1.2
JSMF 2.0.2a
98% ok (slash "/" issue on the url when log out from the JSMFlogin module)
Phil
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 14


View Profile
Re: Strange Problem
« Reply #10 on: November 27, 2006, 11:55:40 PM »

Hi Greg,

That quote is from the forum on my site for my users.

I still have the problem that the SEO does not work.

BR

Phil
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Strange Problem
« Reply #11 on: November 28, 2006, 10:05:11 AM »

The problem is in the file components/com_smf/smf.class.php
in the function fixBuffer(). Around line 420

Try to put that:
Code:
if (strpos($link, '"') !== FALSE) {
    $parts = explode('"', $link);
    $link = $parts[1];
}
right before the line:
Code:
$new_link = $type . '="' . $this->fixLink($link) . '"';

And so SEF Advance can work ...and the smf login too..

Hope it help
 Wink


this functionality is built into RC3 however it cannot be implemented as shown above.  Do not use this fix because it will not work for all urls.  RC3 addresses the root problem shown by this code and resolves it.  Did you ever get my pms greg?
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login