Author Topic: secs or sc input field?  (Read 19543 times)

MSport

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
secs or sc input field?
« on: February 17, 2007, 08:32:03 am »
This looks like a great program! Thank you!

Installed the sytem for Windows, attempted running and got the following error:

class smfbackup.http.SMFException: No "sesc" or "sc" input field found in the reply page. Cannot proceed.

Please help -- what am I missing here?

Thanks again!

viulian

  • Administrator
  • Newbie
  • *****
  • Posts: 38
  • Karma: +1/-0
    • View Profile
Re: secs or sc input field?
« Reply #1 on: February 19, 2007, 08:47:42 am »
Hi :)

Do you use an .htaccess with redirects ?

Usually, when you log into the forum, the forum will answer back with a page containing the session (sc or sesc - don't know in fact if its the session, its a parameter which if its missing, any admin operation will not work).

The trouble is that:
a) mistyped password
b) redirects (or other processes) which intercept the login page (such as addons on the forum).

Make sure that the index.php you are pointing your URL to is the SMF one's and not the index.php of some portal/wrapper over the forum..

MSport

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: secs or sc input field?
« Reply #2 on: February 19, 2007, 04:51:19 pm »
Thanks for your reply! I checked the items you noted, and am still getting the same error. There are no .htaccess files in the root or the sub-directory where SMF runs. Here is the complete context of the SMF Backup dialog:

Quote

- Connecting to http://www.domainname.com/ForumSubDirectory/index.php?action=admin
- Issuing POST to http://www.domainname.com/ForumSubDirectory/index.php?action=login2
- Issuing GET  on http://www.domainname.com/ForumSubDirectory/index.php?PHPSESSID=8e71df48843a4d0d85675f0b4f9190db%3baction=login2%3bsa=check%3bmember=2
- POST to http://www.domainname.com/ForumSubDirectory/index.php?action=maintain
- class smfbackup.http.SMFException: No "sesc" or "sc" input field found in the reply page. Cannot proceed.


The forum is running SMF v. 1.1.1.

Any other ideas? SMF Backup looks like a great application - hope I can get it working properly!

Thanks again!

viulian

  • Administrator
  • Newbie
  • *****
  • Posts: 38
  • Karma: +1/-0
    • View Profile
Re: secs or sc input field?
« Reply #3 on: February 19, 2007, 08:10:31 pm »
I think there is a problem with the authentication on the forum (it redirects to some other page when something goes wrong and then the application won't find the sesc (or sc) parameter in the page).

I cannot ask to see the log files as they do contain your sensitive information..

What you should do is install an HTTP proxy (such as Charles http://www.xk72.com/charles/ - it's shareware, but you can use it for 30 days).
After you set it up, please set the proxy parameters in Java SMF Backup to point to localhost and the port you have started Charles on.

Then watch the dialog between the application and your forum, and then click on the last page that is sent back from the forum to the application.

You should be able to see (if you save the text from Charles to an .html page) what was the error message.
I guess it's something related to the session authentication - but can't actually say what goes wrong..
(i mean it's a trade off - no matter how much logging I can put in the application, only the user is able to investigate what goes on - as there are privacy issues to take into account).

I guess Charles is an easy solution.. You should see what is the page returned by the forum when you try to connect via the application (it will contain an error message sent by the forum instead of the admin page which has the sc or sesc parameter).

Hope this helps :) please keep me posted.

ChaWhoZer

  • Guest
Re: secs or sc input field?
« Reply #4 on: July 04, 2009, 09:59:39 am »
How  should be able to see (if you save the argument from Charles to an .html page) what was the absurdity message.

I assumption it's something accompanying to the affair affidavit - but can't in fact say what goes wrong..

(i beggarly it's a barter off - no amount how abundant logging I can put in the application, alone the user is able to investigate what goes on - as there are aloofness issues to yield into account).


« Last Edit: July 07, 2009, 05:38:40 pm by ChaWhoZer »