Can not enter Birthdate item on login form

Ondrej Janicko Posted in Technical Support 7 years ago

I installed Ossn v4.3.1 with no problems. I created admin account also.

But when I wanted create new account on fresh install on login form I can not enter Birthdate and that I can not create new account.

When I click on Birthdate item in form, nothing happend.

I tested Firefox and IE browser, but with same result.

Replies
German Michael Zülsdorff Replied 7 years ago

Try reconfiguring wamp's webserver to use the default http port 80 instead of 8000.

So you can reach your site with just entering localhost instead of localhost:8000

change the entry in ossn.site.config.php accordingly.

Slovak Ondrej Janicko Replied 7 years ago

Well, the Chrome console error is:

GET http://localhost:8000/on/js/view/ossn.language.js net::ERRCONNECTIONRESET

In network tab in status colum is failed and in type colum is document.

I copied link http://localhost:8000/on/js/view/ossn.language.js to browser navigation end tried open. Is it right ?

I also, discovered that I do not have directories C:/wamp/www/on/js/view and C:/wamp/www/on/js/ on my root folder in wamp.
Ossn is placed in directory C:/wamp/www/on/
Is it OK?

May be it is really modrewritte problem. But I do not belive that modrewritte on wamp is differ than on real Debian.

German Michael Zülsdorff Replied 7 years ago

Sorry, but I never happened to get a message like: "just simple error" from my Chrome console.

Up to now, we have no idea what's going wrong, so the only thing we can build on are as precise descriptions as possible. In doubt simply copy and paste what you see.

Please, within your Chrome developer console switch to the "Network" tab, repeat trying to load that Javascript again, and tell us what you get in the "status" and "type" column. Or send a screenshot.

Slovak Ondrej Janicko Replied 7 years ago

I tried script manulay, but nothing happend. Console said just simple error without any furter descrition.

Ossn v4.3.1 works on wamp on localhost for admin after install. No problem with mod_rewritable.
I can add new users from administration and log into Ossn and do evrything.

Only it is not possible create new account because wrong birthdate.

That is all. Nothing important. For production I will use regular server.

German Michael Zülsdorff Replied 7 years ago

Thanks.
Getting a ERRCONNECTION RESET means: the webserver is unable to deliver the ossn.language.js file for some reason.
What happens, when you're trying to get the file manually like

http://localhost:8000/on/js/view/ossn.language.js

? You should receive a page full of Javascript.

BTW: Running OSSN via localhost is not recommended. Give your machine a resolvable hostname. Otherwise you may run into difficulties with the webserver's mod_rewrite.

Slovak Ondrej Janicko Replied 7 years ago

OK. From developer console from Chrome I got this writtings. Mayby it will help you.

GET http://localhost:8000/on/js/view/ossn.language.js net::ERRCONNECTIONRESET
localhost/:18

GET http://localhost:8000/on/js/view/ossn.language.js net::ERRCONNECTIONRESET
opensource.socialnetwork.js:753

Uncaught ReferenceError: OssnLocale is not defined
at Object.Ossn.Print (opensource.socialnetwork.js:753)
at HTMLDocument.<anonymous> (opensource.socialnetwork.js:861)
at j (jquery-1.11.1.min.js:2)
at Object.fireWith [as resolveWith] (jquery-1.11.1.min.js:2)
at Function.ready (jquery-1.11.1.min.js:2)
at HTMLDocument.J (jquery-1.11.1.min.js:2)

German Michael Zülsdorff Replied 7 years ago

Right. And as I said already: it's a JAVASCRIPT problem. Either the necessary code is not loaded at all, or not executed because of former errors. That's why I asked you to open your browser's development console to find more details about what's going wrong.

Slovak Ondrej Janicko Replied 7 years ago

I think it is not a browser problem, because I used same Firefox, IE, Chrome browser to access wamp installation of Ossn v4.3.1 and same browsers to access Debian instalation of Ossn v4.3.1 in VirtualBox under the windows 7 and it works only when I access the Debian installation.

I did not did any changes on browsers but in one case it works in other doesnt work.

German Michael Zülsdorff Replied 7 years ago

The birthdate calendar is Javascript based. If it doesn't work, it's likely you had some Javascript errors because of third party add-ons ... whatever. Open your browser's development console to gather more information about that.

pk Malik umer Replied 7 years ago

Fine hababa