Part of the EllisLab Network
   
 
problame with the view and controllers
Posted: 18 January 2007 12:41 PM   [ Ignore ]  
Summer Student
Total Posts:  21
Joined  01-18-2007

soory for my english in advance,
allright’ so my prob is that i followed the user guide up to:
http://www.codeigniter.com/user_guide/general/views.html

i simply copy & post what they created there and the “data” there didnt came from the “view” to the “controllers”

hope you understand’
the priest.

edit:
i am using WAMP server is that a prob?

Profile
 
 
Posted: 18 January 2007 03:48 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRankRank
Total Posts:  6712
Joined  03-23-2006

Hello the_priest.  Welcome to CI.

Could you post the code that isn’t working for you, and also let us know where it’s saved (which directories). Also, what is your general PHP knowledge?

WAMP shouldn’t be any problem for you.

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design
BambooInvoice - Open Source, CodeIgniter powered invoicing.

Profile
MSG
 
 
Posted: 21 January 2007 11:19 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  21
Joined  01-18-2007

allright, I dont know why but when I changed to easyPHP from WAMP it works.
but now i have another problame:
when i am using the scaffolding feature[I have followed the video guide[blog in 20 minutes]] and when i click on the “create new record” it follows me to this link:
http://localhost/index.php/blog/localhost/index.php/blog/scaffolding/add
why is it doing that?

Profile
 
 
Posted: 21 January 2007 12:15 PM   [ Ignore ]   [ # 3 ]  
Summer Student
Total Posts:  10
Joined  01-15-2007

Have you set the correct value for $config[‘base_url’] in system/application/config/config.php . Also you should set the $config[‘index_page’] to a blank string “” if you are using apache url rewriting.

~
Thomas

Profile
 
 
Posted: 21 January 2007 01:08 PM   [ Ignore ]   [ # 4 ]  
Summer Student
Total Posts:  21
Joined  01-18-2007
thomasantony - 21 January 2007 12:15 PM

Have you set the correct value for $config[‘base_url’] in system/application/config/config.php . Also you should set the $config[‘index_page’] to a blank string “” if you are using apache url rewriting.

~
Thomas

changed all what you said and steal doesnt work right.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 719, on June 06, 2008 10:16 AM
Total Registered Members: 64455 Total Logged-in Users: 22
Total Topics: 80961 Total Anonymous Users: 0
Total Replies: 435697 Total Guests: 187
Total Posts: 516658    
Members ( View Memberlist )