Local server vs. internet based server issues

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
User avatar
gregsintx
Posts: 15
Joined: 2015-05-09 06:25

Local server vs. internet based server issues

Post by gregsintx » 2015-05-09 06:31

Hi

I hope someone can point me in the right direction. I am building an appgini application using my local environment and then copy the code via FTP to an internet host.

I am not getting the 'sub tables' to load on the internet host, but they work fine in my local environment.

I did go through a process where I had to rename my tables, as my local php database environment was not case sensitive, but my internet php database is case sensitive, so that is something I ended up doing after my project was initially created.
I've attached a picture of what I see locally and what I see on the host.
This issue is occurring for every table where I have these child relationships - there are quite a few of them. I just need to know where to look for the problem and can do any necessary coding to fix it.
appg1.JPG
Host app image
appg1.JPG (186.11 KiB) Viewed 3378 times
appg2.JPG
Local app image
appg2.JPG (255.35 KiB) Viewed 3378 times

User avatar
gregsintx
Posts: 15
Joined: 2015-05-09 06:25

Re: Local server vs. internet based server issues

Post by gregsintx » 2015-05-10 21:40

I actually found the solution to this while waiting for admin approval for this post:)

Because I run my local machine on Windows, file names are not case sensitive. My web host is Linix and is case sensitive -
The children files under \templates were named with the old table names - ie
"children-Classes.php" vs "children-classes.php"

Once I changed the case of the filename, everything started working.

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

Re: Local server vs. internet based server issues

Post by a.gneady » 2015-05-11 12:22

Thanks for reporting how this issue was resolved ... maybe we'll add to future releases of AppGini a warning about this when a table has upper-case letters.
:idea: AppGini plugins to add more power to your apps:

Post Reply