⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Flexgrid not rendering correctly on host server



christ2

christ2
  • profile picture
  • Member

Posted 09 October 2014 - 00:01 AM

Hello, I need help with implimenting GroceryCRUD on my hosts linux/apache server, as the image below shows that CSS, Javascript..etc, isn't rendering the grid & the action buttons are missing.

 

FlexGridProb1.png

 

 

however, on my local PC it looks & works perfectly.

 

FlexGridProb2.png

 

Thanks Chris


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 09 October 2014 - 10:07 AM

please check if you have configured the .htaccess correctly on the server / live?

What hosting server u trying to deploy. ... check...htaccess for godaddy and other hosting providers.. some servers need a certain set of configurations.


christ2

christ2
  • profile picture
  • Member

Posted 09 October 2014 - 10:34 AM

Problem solved!! :D The issue was related to a basic misconception of the folder/file structures and subsequent path config changes that i had made...

 

 

Before I begin - I love GROCERYCRUD!!! :wub:

I'm a newbie developer to php/mysql/apache in my 50's, the biggest issue with installing grocery crud for an old school technologist like myself is the lack of specifics & assumptions about the person installing codeigniter/grocerycrud.

 

  • What I would have liked to have had at the outset is more clarity about the folder/file structure for integrating GroceryCRUD with an existing website. Often people & in my case I had coded my php website & was seeking a CRUD solution, I found groceryCRUD. Also would it be fair to say that installing GroceryCRUD is the same as creating another 'website' that shares access to a MySQL database with your existing website(if you have one already)?

Could someone please check for folder placement best practices as I have below?

 

 

  • Folder structure BEFORE installing GroceryCRUD was as follows

HOST SERVER(Paid)

/home/mywebsite  {Public access denied}

---/public_html    {Publicly accessable}

---index.php

---/includes

---/js

---/css

---etc.....

 

WAMP Server (My personal PC)

c:\wamp\www\mywebsite

---\html    {publicly accessable}

---index.php

---\includes

---\js

---\css

---etc.....

 

  • Folder structure AFTER installing groceryCRUD

HOST SERVER(Paid)

/home/mywebsite  {Public access denied}

---/public_html    {Publicly accessable}

---index.php

---/includes

---/js

---/css

---etc.....

 

---grocerycrud

---/application

---/assests

---/system

---/user_guide

---index.php

---etc.....

 

WAMP Server (My personal PC)

c:\wamp\www\mywebsite

---\html    {publicly accessable}

---index.php

---\includes

---\js

---\css

---etc.....

 

---grocerycrud

---\application

---\assests

---\system

---\user_guide

---index.php

---etc.....

 

  • The remainder of the user guide, which I will eventually read seems to be terrific.

 

Thankyou Amit you have always replied me....(my two post to date..lol)


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 09 October 2014 - 13:46 PM

Happy to help :)