Welcome Guest, Not a member yet? Register   Sign In
[Closed] CI Form Validation Still Not Working
#11

[eluser]riwakawd[/eluser]
[quote author="Patroklo" date="1400232301"]Yes I can:

Controller: http://pastebin.com/3ycefNCY
Model: http://pastebin.com/UumQcBP0

The view doesn't change.

Just to be sure... I have only tried the form with all fields empty.[/quote]

Installed fresh copy of CI and started from scratch now seems to work
#12

[eluser]InsiteFX[/eluser]
Most of the newer web browsers will not accept localhost as a name, they are looking for a period in the name. So use Vhosts.

This is what's causing a lot of Session problems also.
#13

[eluser]riwakawd[/eluser]
[quote author="InsiteFX" date="1400244755"]Most of the newer web browsers will not accept localhost as a name, they are looking for a period in the name. So use Vhosts.

This is what's causing a lot of Session problems also.
[/quote]

Never Herd Of Vhost
#14

[eluser]InsiteFX[/eluser]
This is for Windows 7 Pro and other Window versions.

1) you need to edit your hosts file in c:\Windows\System32\drivers\etc\hosts

2) add a server [ 127.0.0.1 citesting.dev ] without the brackets.
can be any name like name.dev etc; Make sure there is a period in the name.

3) edit your apachce vhosts file. c:\xampp\apachce\conf\extra\httpd-vhosts.conf

This is for xampp but should be similar for other servers.

Code:
# CI214 Testing
<VirtualHost *:80>
    DocumentRoot "C:\xampp\htdocs\citesting\public_html"
    ServerName citesting.dev
    <Directory "C:\xampp\htdocs\citesting\public_html">
        Order allow,deny
        Allow from all
        AllowOverride All
    </Directory>
</VirtualHost>

When specifying the server you would use citesting.dev instead of localhost.




Theme © iAndrew 2016 - Forum software by © MyBB