Jump to content


Installation problem: output tables are not formatted, no function

installation xampp ajax

  • Please log in to reply
7 replies to this topic

#1 simplex

simplex

    Newbie

  • Members
  • Pip
  • 3 posts
  • LocationGermany

Posted 01 November 2012 - 11:59 AM

Hi all,

well ... I'm afraid I will come up with some pretty boring newbie issue.

My environment:
XAMPP 1.8.1, CodeIgniter 2.1.3, GroceryCRUD 1.3.2
I'm pretty sure to have all GroceryCRUD files in the right place.

My issue:
XAMPP and CI are working fine - welcome page is being rendered.
Database connection to MySQL is defined and works.
Now I try to get the simple application as shown in the tutorial up and running.

You can see the result in the screenshot: no formatting, no interaction with the database. The content of table employees is just listed as plain text.

Any ideas where I should look to solve the problem?

Best regards,

simplex

CRUD_01.jpg

#2 victor

victor

    grocery CRUD Hero

  • Advanced Member
  • PipPipPip
  • 967 posts
  • LocationMinsk

Posted 01 November 2012 - 12:51 PM

Hi, Simplex! Welcom to the forum.
Step 1: change the base_url( main CI's config).
Step 2: be happy :)

#3 simplex

simplex

    Newbie

  • Members
  • Pip
  • 3 posts
  • LocationGermany

Posted 01 November 2012 - 01:37 PM

Hi Victor & thanks for your reply!

I did change that already - maybe in a wrong way.

My setting in config.php:
$config['base_url'] = 'http://localhost/CodeIgniter/index.php';

My install path:
E:\xampp\htdocs\CodeIgniter\

This is the folder I used to integrate the GroceryCRUD files. As I understand the installation, the address http://localhost/ should now point to E:\xampp\htdocs\ - is that correct?

Or should $config['base_url'] just point to another file?

Maybe I should RTFM ... but did not find the information ;-)

Greetings,

simplex

#4 victor

victor

    grocery CRUD Hero

  • Advanced Member
  • PipPipPip
  • 967 posts
  • LocationMinsk

Posted 01 November 2012 - 02:20 PM

your base_url is 'http://localhost/codeigniter/

#5 victor

victor

    grocery CRUD Hero

  • Advanced Member
  • PipPipPip
  • 967 posts
  • LocationMinsk

Posted 01 November 2012 - 03:31 PM

helped you?

#6 simplex

simplex

    Newbie

  • Members
  • Pip
  • 3 posts
  • LocationGermany

Posted 02 November 2012 - 08:51 AM

Hi Victor!

Yes, that helped! Thank you very much!

So base_url just points to the folder where the application is stored. Got it!

Now I can start to really explore that stuff ...

Have a great day!

simplex

#7 Ryan_T

Ryan_T

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 20 March 2013 - 06:16 AM

Edit: Nevermind. Seems to work fine with the rest of the method tutorials. Looks like loading a new $crud works better than the quick-referenced $this->grocery_crud calls used in the newbie tut. 

 

 

Hi Victor,

 

I seem to be having similar issues, but even more severe. 

 

Trying to perform the newbie tutorial, and everything went well, except for the output on the final step. Instead of nice formatting, I get the entire info dumped onto the screen with no order, and seemingly lacking layout.

 

The screenshot below is on the middle of a long page. 

 

 

screen-capture-6_zpsf11feeaf.png

 

 

 

 

These are at the bottom: 

 

[js_files] => Array
(
[e9e289fc80d543c348f4e70ca9d893d32bd5dfbf] => http://localhost:888...ry-1.8.2.min.js
[2d2b031fb606852768dc4c9a3c457545558cc924] => http://localhost:888...d/js/cookies.js
[6629a324ade6d489aff77292cb02e31d9188a6bb] => http://localhost:888...js/flexigrid.js
[f32759f44ae94dad1a17f0b37a77f4085f415e18] => http://localhost:888.../jquery.form.js
[41101518af3f8fb416f60152aa019d963ae9293b] => http://localhost:888....numeric.min.js
[8823261dedf8eda49cfa2a7a528b5182350a90ae] => http://localhost:888...tElement.min.js
[6a2db233137109ecadbf4dbb1518fd2478f08044] => http://localhost:888...ancybox.pack.js
[d24105860047fc8ef3893d8892bb13d5cb2e8455] => http://localhost:888...ing-1.3.pack.js
)

[css_files] => Array
(
[f1731e27afe02ab899b16daf8ae4a5ac8ac05d4e] => http://localhost:888...s/flexigrid.css
[ed7c731212886ffa5071a6db738fbff8be24bfa6] => http://localhost:888...ry.fancybox.css
)

)

 

 

Running on OSX with MAMP

CI 2.1.3

Grocery CRUD 1.3.3

 

 

I've looked at the Known Issues section, but not sure if any of them apply. Please advise.

 

Thanks in advance. 



#8 victor

victor

    grocery CRUD Hero

  • Advanced Member
  • PipPipPip
  • 967 posts
  • LocationMinsk

Posted 20 March 2013 - 08:47 AM

Is your project in main directory?
http://localhost:888/index.php?
or your project is in subdirectory? http://
localhost:888/your_project/





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users