![]() |
CI + Eclipse + XAMPP - View edits locally? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: CI + Eclipse + XAMPP - View edits locally? (/showthread.php?tid=42749) |
CI + Eclipse + XAMPP - View edits locally? - El Forum - 06-17-2011 [eluser]w00tw00t111[/eluser] Hi guys, I've been scouring the forums and google but have yet to find the solution to my problem. I hope you all can help! I've been developing a codeigniter site and it is working fine on the Apache webserver. What I'm trying to accomplish is to take the source files, download them locally (windows box) and make my development edits on my local machine and test those changes locally. (since the website is currently live). What I've done is: Installed XAMPP (apache, mysql running fine) Installed Eclipse PDT Copied the system and application folder into: c:\xampp\htaccess\codeigniter ++++File structure is: C:\xampp\htaccess\codeigniter\application _______________________C:\xampp\htaccess\codeigniter\system Followed these instructions (http://www.andreabaccega.com... and created the two separate projects I can view the files in Eclipse and edit them, no problem. When I click "Run" -> "Run" on a view that I was currently editing I receive the error "Program cannot display the webpage". I'm having extreme difficulty figuring out how to view the changes I've made locally without uploading it to the webserver. Any help is much appreciated! CI + Eclipse + XAMPP - View edits locally? - El Forum - 06-17-2011 [eluser]rebornishard[/eluser] view it with your browser http://127.0.0.1 xampp 1.7.4 not worked for me, error everywhere i recommended ver 1.7.3 CI + Eclipse + XAMPP - View edits locally? - El Forum - 06-19-2011 [eluser]w00tw00t111[/eluser] rebornishard Thanks for your reply! When i try 127.0.0.1/codeigniter I receive the following error: Warning: require_once(C:/Users/Allen/Documents/Dropbox/Omega Reports/Omega Website/EclipseCode/system/core/CodeIgniter.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\codeigniter\index.php on line 201 Fatal error: require_once() [function.require]: Failed opening required 'C:/Users/Allen/Documents/Dropbox/Omega Reports/Omega Website/EclipseCode/system/core/CodeIgniter.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\codeigniter\index.php on line 201 CI + Eclipse + XAMPP - View edits locally? - El Forum - 06-22-2011 [eluser]w00tw00t111[/eluser] Any other suggestions guys? CI + Eclipse + XAMPP - View edits locally? - El Forum - 06-22-2011 [eluser]eggzy[/eluser] I use xampp also and works fine for me. Make new folder in htdocs and name it anything u want and put codeigniter files in it. Then access it http://localhost/yourfoldername/ CI + Eclipse + XAMPP - View edits locally? - El Forum - 06-23-2011 [eluser]w00tw00t111[/eluser] Just an update, I've been going through a php book and following all of the book's examples. I made a new file under htdocs called "test" and have been running the files from 127.0.0.1\test\xxx.php That is working fine. So it seems that it may be a setting within my code igniter config file? As I mentioned in an above post, all of the source files (code igniter files included) were downloaded off of our webserver where the app is running fine. Any suggestions on places to look where a setting may need to be changed? CI + Eclipse + XAMPP - View edits locally? - El Forum - 06-23-2011 [eluser]w00tw00t111[/eluser] Hey guys, I was editing the login.php file (of the site that wasn't working). Clicked Run->Run And this is what I got: http://i352.photobucket.com/albums/r353/w00tw00t111/Error.jpg (it errored out originally when it was http://localhost so I changed it to be http://127.0.0.1 and still error'd) |