unable to login in dev environment

9 views
Skip to first unread message

satyaakam goswami

unread,
Oct 10, 2011, 11:37:51 AM10/10/11
to kodelearn_...@googlegroups.com
i see these user in the table users


select * from users;
+----+-----------+----------+--------------------------+------------------------------------------------------------------+----------+--------+------------+--------+------------------------+--------+----------------+
| id | firstname | lastname | email                    | password                                                         | about_me | logins | last_login | avatar | forgot_password_string | status | parent_user_id |
+----+-----------+----------+--------------------------+------------------------------------------------------------------+----------+--------+------------+--------+------------------------+--------+----------------+
|  1 | admin     | demo     | admin...@kodelearn.com | 2ec953bb23dc94f9e661494a97fde5997dac5c9377da42b8fa4f236edcc5ec5e |          |      0 |       NULL | NULL   | NULL                   |      1 |              0 |
+----+-----------+----------+--------------------------+------------------------------------------------------------------+----------+--------+------------+--------+------------------------+--------+----------------+
1 row in set (0.00 sec)


i tried login as  admin.demo as well as admin i am unable to login?

-Satya

Karan Ahuja

unread,
Oct 10, 2011, 11:41:14 AM10/10/11
to kodelearn_...@googlegroups.com
hello

the login id will be admin...@kodelearn.com

best regards

Karan Ahuja

Karan Ahuja

unread,
Oct 10, 2011, 12:45:54 PM10/10/11
to kodelearn_...@googlegroups.com
The password is kodeplay2010 for username admin...@kodelearn.com

Thanks and best regards

Karan Ahuja
www.kodemall.com
www.kodelearn.com

satyaakam goswami

unread,
Oct 10, 2011, 11:39:42 PM10/10/11
to kodelearn_...@googlegroups.com
On Mon, Oct 10, 2011 at 10:15 PM, Karan Ahuja <karan2...@gmail.com> wrote:
The password is kodeplay2010 for username admin...@kodelearn.com
thanks, now i am in as admin  but now i get  errors like

users ----> The requested URL /kodelearn/user was not found on this server.
batches -----> The requested URL /kodelearn/batch was not found on this server.

actually i see none of the links working .

-Satya
   

Karan Ahuja

unread,
Oct 11, 2011, 3:03:52 AM10/11/11
to kodelearn_...@googlegroups.com
oh ok

i did not get this problem when i installed yesterday .

is your apache mod rewrite module on ?

will try to study about this and help out .

looks like mod rewrite is not working for you

Karan Ahuja

unread,
Oct 11, 2011, 12:07:03 PM10/11/11
to kodelearn_...@googlegroups.com
hello satya

try enabling the module from this comand in this link  :

http://blog.rajatpandit.com/2009/02/12/how-to-enable-mod_rewrite-on-ubuntu/

Karan Ahuja

unread,
Oct 11, 2011, 12:08:38 PM10/11/11
to kodelearn_...@googlegroups.com
or you can try going to this link to see if it works on your local


http://kodelearn.kp/index.php/user

replace kodelearn.kp with your local base url

satyaakam goswami

unread,
Oct 11, 2011, 2:46:35 PM10/11/11
to kodelearn_...@googlegroups.com
rewrite module is loading , 

#apachectl -t -D DUMP_MODULES |grep rewrite
httpd: apr_sockaddr_info_get() failed for satyag
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
 rewrite_module (shared)




fossevents.in

satyaakam goswami

unread,
Oct 11, 2011, 2:48:26 PM10/11/11
to kodelearn_...@googlegroups.com
this link works but no other link after that , i still get the same message the requested url was not found on this server

vineet naik

unread,
Oct 12, 2011, 1:01:48 AM10/12/11
to kodelearn_...@googlegroups.com
Hi Satyaakam, 

I just checked your apache config file again on pastebin. In that file, on line 337, try changing 

AllowOverride None to AllowOverride All 

I am suspecting that your current apache config doesnt allow the htaccess to override the config on a directory level. 
--
Vineet Naik

satyaakam goswami

unread,
Oct 12, 2011, 1:04:51 AM10/12/11
to kodelearn_...@googlegroups.com
yes i did change before trying yesterday did not report it , it reads like this now

<Directory />
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
    Order allow,deny
    allow from all
</Directory>





fossevents.in

vineet naik

unread,
Oct 12, 2011, 1:11:57 AM10/12/11
to kodelearn_...@googlegroups.com
Ok..

To just verify if your htaccess is really being used, you can try making some error in the htaccess file, then the server should return with 500 internal server error. If doesn't then htaccess is not being used. 
--
Vineet Naik

satyaakam goswami

unread,
Oct 12, 2011, 1:20:02 AM10/12/11
to kodelearn_...@googlegroups.com
following is what it reads , i removed / from Rewritebase no change in behaviour

# Turn on URL rewriting
RewriteEngine On

# Installation directory
RewriteBase /

# Protect hidden files from being viewed
<Files .*>
        Order Deny,Allow
        Deny From All
</Files>

# Protect application and system files from being viewed
RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]

# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT]




fossevents.in

vineet naik

unread,
Oct 12, 2011, 2:10:37 AM10/12/11
to kodelearn_...@googlegroups.com
Ok.. Does kodelearn/index.php/user work ?
--
Vineet Naik

satyaakam goswami

unread,
Oct 12, 2011, 3:15:37 AM10/12/11
to kodelearn_...@googlegroups.com
now i get  

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

-Satya



On Wed, Oct 12, 2011 at 11:40 AM, vineet naik <vinee...@kodeplay.com> wrote:
Ok.. Does kodelearn/index.php/user work ?


Karan Ahuja

unread,
Oct 12, 2011, 3:34:31 AM10/12/11
to kodelearn_...@googlegroups.com
maybe kohana "beautiful urls" need other configurations to work and these configurations are done on our machine but not on satyas machine

will study further in the evening and reply

Thanks and Best regards

Karan Ahuja
www.kodelearn.com/demo

satyaakam goswami

unread,
Oct 21, 2011, 1:27:21 PM10/21/11
to kodelearn_...@googlegroups.com
can anyone help me with this , tried with changes in .htaccess it did not help.

-Satya

vineet naik

unread,
Oct 22, 2011, 1:13:16 AM10/22/11
to kodelearn_...@googlegroups.com
can you try changing the rewrite base in htaccess as follows - 

# Installation directory
RewriteBase /kodelearn/
--
Vineet Naik

satyaakam goswami

unread,
Oct 22, 2011, 1:47:33 PM10/22/11
to kodelearn_...@googlegroups.com
On Sat, Oct 22, 2011 at 10:43 AM, vineet naik <vinee...@kodeplay.com> wrote:
can you try changing the rewrite base in htaccess as follows - 

# Installation directory
RewriteBase /kodelearn/

no luck even with this ?

-Satya 



satyaakam goswami

unread,
Nov 3, 2011, 1:52:46 AM11/3/11
to kodelearn_...@googlegroups.com
still not working there is a correction to be made on your git site the username is not correct it in the database it reads admin...@kodelearn.com so either correct the website or database.

i had enough playing with your kode :-(


-Satya





 

vineet naik

unread,
Nov 3, 2011, 2:16:30 AM11/3/11
to kodelearn_...@googlegroups.com
still not working there is a correction to be made on your git site the username is not correct it in the database it reads admin...@kodelearn.com so either correct the website or database.

This has been fixed now. Thanks for informing. 
--
Vineet Naik

Reply all
Reply to author
Forward
0 new messages