Welcome Guest, Not a member yet? Register   Sign In
fatal error (i have problems settin up simpletester )
#1

[eluser]Unknown[/eluser]
hi,
i just install the simpletester, folowed all the procedure but i keep getin this error everytime i try to load the page. (new to unit testing)

Fatal error: Cannot redeclare class User in C:\wamp\www\iris\system\application\models\user.php on line 62 and it says '7 tests ok' on the side.

Do u knw how i could solve this
#2

[eluser]pistolPete[/eluser]
Code:
Fatal error: Cannot redeclare class User
means that there is already a class called "User", probably a controller!?
Rename your model class to User_model and try again.
#3

[eluser]Unknown[/eluser]
Hi, I am suppose to be unit testin some code for my group but the problem is I can get to whole simpletester setup properly to get goin. i beleive i installed the simpletester program sucesfuly but cant seem to get the test page workin(cant see the green or red lines ....), right now i am getin this error

Fatal error: Call to undefined method User::_assign_libraries() in C:\wamp\www\iris\system\libraries\Loader.php on line 185 and ‘7 tests ok’ written on the left hand side of the page.

help pls!




Theme © iAndrew 2016 - Forum software by © MyBB