- HAnswered
also cannot view user information with ajax
mysite.com/d/index.phpajax_calls/get_user_details/1?_=1592872096781
i assume there is a typo somewhere in the code, but i dont know where to find it.
- HAnswered
further research, i am guessing this is because my server is not yet hiding index.php. would love help on this whenever you’re available.
- MSAnswered
Hello,
It’s because you have added the index.php to the urls 😦 The index_page in config should be blank. If you change index_page the url structure will change and would result in failure of ajax calls.
Please reset it back to default and try to change the lines below in the .htaccess
# For godady Shared Hosting Server uncomment the line below RewriteRule ^(.*)$ index.php?/$1 [L] // I HAVE UNCOMMENTED THIS # Please comment this if you have uncommented the above # RewriteRule ^(.*)$ index.php/$1 [NC,L,QSA] // I HAVE COMMENTED THISIf you have upload the files in subdirectory
dthen you can uncomment the# RewriteBase /forums/and change it toRewriteBase /d/in the .htaccess file.I hope it will resolve the issue. If you can’t make it work, please let me know your server details in private reply. I will try to check for you.
You can post private reply by enabling the
PRIVATE for Staff onlyat top right of the reply section.Thank you
- HAnswered
oh i see now, my computer hid the .htaccess file by default so it never got uploaded when i dragged files in server. i’ll see if it works with the one provided, i was wondering why i had to make my own file lol
- HAnswered
yup all definitely works now
- Login to Reply