Skip to main content
Topic: potential bug , please consider high priority (Read 1031 times) previous topic - next topic

potential bug , please consider high priority



my customer sent me (its not full but enough)

i looked at the source code and found



please tell me how to fix ?

Re: potential bug , please consider high priority

Reply #1
Unless your User data is stored in a table named "__tablename" your project may be corrupt.
If your user data is in a table named "__tablename" then don't do this.
Suggestion:
1. Backup the Project file.
2. Zip the publish folder (On your development machine.) then delete or move everything from it.
3. Remove "Authentication" from the project.  Save it as something else.
4.  Re-add authentication.  (including allowing registration etc.)
5. Re-Publish
6. Test if login is working, go back and remove registration and anything you don't need.


Re: potential bug , please consider high priority

Reply #2
Hi
I tried even with brand new project still it shows like that

but it only fails intermittent most of the time it works

please try this on your side you'll see the same issue please fix

Re: potential bug , please consider high priority

Reply #3
Its a bug ,if you check the index controller its setting up the right table
but your security controller has issue

this needs to be fixed

Re: potential bug , please consider high priority

Reply #4

This only happens when you have cookie login_session_key and you are not coming on home page rather some different page

for example in my case i use

http://localhost/courier_tracking/orders?search=1z5av7586822802989

I changed "___tablename" to "user" as its in indexcontroller and it works now

Re: potential bug , please consider high priority

Reply #5
@muhdkhokhar‍ this sometimes happens when you have exempted important pages from project generation. For example, if you exempt appheader.php from the list of generated files, and you make a change on your Project Menu, you get this type of error. it is advisable to backup your project and make sure no file is exempted when you publish the project, thanks.

 

Re: potential bug , please consider high priority

Reply #6
OK thanks for the reply.

Luckily i fixed it manually haha

thanks