Author Topic: User log-in/register not working  (Read 1957 times)

0 Members and 1 Guest are viewing this topic.

Offline Riser

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
User log-in/register not working
« on: January 21, 2014, 04:42:28 PM »
Hello community!

I have noticed a strange problem with TubeX´s userfunctions - they don´t work from (and on) any sites (you know, such things as log in, sign up and even the comment-function on the videopages does not work) - it say´s that the page was not found...

All other things works fine... the adminsection, all the other sites, functions and so on - i even can create categories, or accounts over the adminsite, can upload movies and such... no problem at all - but the whole userstuff from create a account over the site, log in, manage, upload, comment and so on, doesn´t...  I get no php-errors, all file and directory rights are set correctly, the installation goes without faults and the server-test.php is "green" on all points! Strange...

What i´m wonder about... if i click on "newest video" the link point to "/videos/newest" - but there is no "newest" folder in the "video" folder (only subfolder with numbers and no php-file)... so the page must be created dynamic and shown on the screen (this works correctly as i mentioned above)... if i click on "log in", the link point to "/user/login/" and it says not found... okay... but... if i open up the "user.php" - the log in site comes on the screen... now it works, even the registry screen pop´s up, if i call the "user.php" with "user.php?r=register" (but this is not really working for real use, because all functions (such as the log in button) are binded on the "/user/login" or "/user/login/register" path and the error comes again - and by the way, it will be a pain in the xxx to change all this pages, calls and functions in the whole software, because everything goes over that "user.php" with different commands after the "?") - hope you can understand what i´m trying to say - my english is not the best... ;-)

Is this a php problem? I´m using php 5.4.4.14, MySQL 5.5.33 on Raspbian (Debian) on the Raspberry Pi! Yes, my TubeX is not for professional usage, more for testing purposes - but i want to know, what´s going wrong and maybe someone other have the same problems in the future...

So... if you have a clue, ideas, workaround or a fix for this, i would like to know! (and can test it) ;-)
Btw: on Suse there is the pretty same problem - but there do not even work any "dynamic created site" - only the "home" link works... but that is another story... ;-)

And hey... this piece of software is really fast on the raspi - such as a static website is... if we now can fix this thing, it would be a great alternative for homehoster!

Greetings and thanks!
Riser

Offline Zug

  • Newbie
  • *
  • Posts: 35
  • Karma: +12/-0
    • View Profile
    • http://www.teensinporn.biz
Re: User log-in/register not working
« Reply #1 on: January 29, 2014, 08:29:57 AM »
I am not sure I understand everything you are saying. But I would recommend that you review the tubex docs and the installation steps themselves... or do a complete re-install. Sounds like it could be a simple permission issue. But who knows where.

All the /folders you speak of are located in the Templates area of the admin. You can see the /templates/*skin/**.tpl file for videos-newest there. Along with all your tubex page templates. Try to be more specific about just one problem first. And perhaps more detailed help could be provided.

Offline Riser

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: User log-in/register not working
« Reply #2 on: January 29, 2014, 11:28:54 AM »
Thank you Zug for trying to help me...

Okay, we do it now step for step...

1.) I have deleted my old install and the MySQL-Table to install it completly fresh...
2.) I have set up all file and folderpermissions right - straight from the TubeX docs, the installation goes fine - without any errors and the site is up and running...

All links working (Home, Newest Videos, Browse Videos, Categories and the Search-Feature) - except these links - Sign Up and Log In.

If i click on Sign Up - this comes up the screen:

404 Not Found

The requested URL /tube/user/register/ was not found on this server.

-------

If i click on Log In - this error appears:

404 Not Found

The requested URL /tube/user/login/ was not found on this server.

-------------------------

Without signup and login to the site, no user can register new or use his account... that´s the problem i have... all the rest of the site works as it should...

Now we have probably 2 reasons for that...

1.)  the domainadress is missing - eg... 192.168.178.31/tube/.... instead of "only" /tube/ as it shows up in the errormessage... (but why, when it is working with all the other links correctly?)

2.) "somethings" goes wrong, (when clicking on the these links) internal... see, under 192.168.178.31/tube/ is no user-folder as mentioned in the error! But there is an user.php... if i give parameters to it - like "user.php?r=register", the register-screen comes up (this should orginally comes, when i click the "register"-link)... so i thought, the sites would be dynamicaly generated "on the fly", when someone clicks these links and thought, something at this process goes wrong...

Yes, i found your mentioned tpl-files in the template-folders, (i´m using "Adult Light", but this does no matter, because i try them all and all have this error)...  so what can i do now?
« Last Edit: January 29, 2014, 11:30:56 AM by Riser »

Offline Zug

  • Newbie
  • *
  • Posts: 35
  • Karma: +12/-0
    • View Profile
    • http://www.teensinporn.biz
Re: User log-in/register not working
« Reply #3 on: January 30, 2014, 06:47:30 AM »
hmm I'm not sure. You have a link to your installation?


Offline rogue

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: User log-in/register not working
« Reply #4 on: January 30, 2014, 06:53:00 AM »
I'm pretty sure your problem is that tubex isn't fully compatible with the latest PHP. I had to downgrade to 5.3 to get it fully working.

Offline Riser

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: User log-in/register not working
« Reply #5 on: January 30, 2014, 03:56:58 PM »
@Zug:
If you mean the version that i have installed - i use the official GitHub Master, linked from this board here... if you mean you need access to my server... hm... it is (at the moment) only a homeserver without a connection to the internet - if you need to, i can try to set it up to reach it from the net, but i need a timewindow "from" between "to" to set up my router properly... i think the best is, if we speak about this via pm...

@rogue:
I thought it must be a problem with the newer php version - now i have another problem, because i do not know how to compile the older one. Is it really so easy? Download the older version from the php site and "make" an install? And then? Is this the only thing i have to change? I mean, whats about MySQL or with the other php modules? Need they older versions too to run with the older php version? I´ve done this not before... on all my older projects the hoster has updated or installed the serversoft - this "Raspi" server is the first time doing all on my own! ;-)

On the other hand... is somebody working at the moment to fix this or make it php 5.4 or 5.5 compatible? Maybe i have only wait some weeks and it runs again? ;-) 

Thanks and many greetings,
Riser

Offline Zug

  • Newbie
  • *
  • Posts: 35
  • Karma: +12/-0
    • View Profile
    • http://www.teensinporn.biz
Re: User log-in/register not working
« Reply #6 on: January 31, 2014, 04:07:21 AM »
No I just meant if you could show the link to your site. But if it a local site then never mind. But anyway .. it probably is what rogue said.  The php version issue.

Unofficial JMB Support Forums

Re: User log-in/register not working
« Reply #6 on: January 31, 2014, 04:07:21 AM »


Tags:
 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1309 Views
Last post August 12, 2013, 12:05:36 PM
by mrsshow
0 Replies
1214 Views
Last post August 05, 2013, 06:55:36 PM
by Chad
7 Replies
1499 Views
Last post January 31, 2014, 04:12:34 AM
by Zug
4 Replies
887 Views
Last post July 20, 2019, 09:39:56 PM
by insex
0 Replies
571 Views
Last post October 14, 2018, 06:44:14 AM
by kamtcho