Welcome Guest, Not a member yet? Register   Sign In
login problem
#1

[eluser]sojan[/eluser]
i have my code ignighter installed on my pc, and there was one program developed. bu when i tried to move the application to another pc. i cant login into the application. it doesnt show any error it just reload the page. please help
#2

[eluser]Otemu[/eluser]
Hi,

I take it the login is using a form which submits to a controller, your need to look at the code of that controller to try and decipher your problem.

Check after submit if the login is even hitting that controller, if it doesn't then could be routes, htaccess or directory issue.

If it does hit then maybe some other logical causing it to fail, such as you didn't transfer the database correctly.
#3

[eluser]sojan[/eluser]
i know that its something related to the database connectivity, as it goes into the controller, and i have one alert in that page it works perfectly, the problem is something related to the dbconnect function, do we need to have oracle client on the pc? no ist it it !! my database is on the server in the network and it works perfectly on one pc.
#4

[eluser]sojan[/eluser]
what can be the htaccess issue?
#5

[eluser]Otemu[/eluser]
Hi,

Since you are hitting the controller then this is not a htaccess issue. Have you turned errors on?? I assume if codeigniter can not connect to the database it should throw an error
#6

[eluser]sojan[/eluser]
it cannot connect, to the database, because i tried a simple test program without code igniter. cannot connect somthing wrong with oracle connectivity.
#7

[eluser]Otemu[/eluser]
Hi,

Not tried connecting to a Oracle database before with codeigniter so I can only offer solution found around the web, hopefully one will be useful for you:

http://ellislab.com/forums/viewthread/231036/
http://ellislab.com/forums/viewthread/66209/#336626
http://manojbethel.blogspot.co.uk/2010/0...niter.html
http://stackoverflow.com/questions/14012...oracle-11g
https://github.com/EllisLab/CodeIgniter/...own-Issues
#8

[eluser]sojan[/eluser]
extension=php_oci8_dll

error was because i havent had oracle 8i dll enabled, then i had to copy oracle client on my c drive, then i had the issue that php_oci8_dll error while starting xampp, so i had to copy all the dlls of the oracle client folder into windows/system32, again i had an issue with the regional settings so i had to go the the registry and rename NLS_LANG subkey in the registry at \HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE, (it can be renamed to anything)

now i have a problem with the cookie, i dont know y the cookie is not working




Theme © iAndrew 2016 - Forum software by © MyBB