Welcome Guest, Not a member yet? Register   Sign In
Auto Login issues
#1

[eluser]waseem[/eluser]
Hi

Helping someone do a website, and i have downloaded all the files onto my PC, im using WAMP, the site works fine but whtn i go to the admin section it all goes a bit wrong.

So going to the URL below (of course specific to his site)

http://127.0.0.1/info/admin_en.php

ends up going to url below

http://127.0.0.1/info/admin_en.php/auth/login

This page rather than execute the PHP gives me a page like the one in the atttached screenshot, im very new to Codeignitor and was wondering if a setting was missing or something
#2

[eluser]bitist[/eluser]
It seem that php configuration short_open_tag is off.

There are 2 solution, activate it from .htaccess
php_value short_open_tag 1

Second is to change all
Code:
<?
to
Code:
<?php
on your PHP source code files.

I would choose the second for security reason.
#3

[eluser]Amir Bukhari[/eluser]
you can also search in you php.ini in WAMP for the line

short_open_tag = Off

turn it

short_open_tag = On

if didn't find it add this line at the end of php.ini

short_open_tag = On




Theme © iAndrew 2016 - Forum software by © MyBB