Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working well on localhost, but problems when moved to server #50

Open
youyouk opened this issue Dec 22, 2012 · 4 comments
Open

Working well on localhost, but problems when moved to server #50

youyouk opened this issue Dec 22, 2012 · 4 comments

Comments

@youyouk
Copy link

youyouk commented Dec 22, 2012

Hello, I encountered problems when moved my "Store Location Admin" from localhost (Wamp) to my server.

I think the problem is the "URL_ROOT" settings, that brokes all links to images, css etc. I fixed that point but now I can't create or edit Locations, navigate through different pages (ex: "/list/page/2/?"), and the Backup/ restore capacities are broken.

When trying to create a new Location I got this error :

"Notice: Trying to get property of non-object in /homez.614/biomatma/www/system/controllers/create.php on line 17"

Any idea to resolve my problem will be welcome ^^

Bye

@galen
Copy link
Owner

galen commented Dec 23, 2012

This code was in a very early stage when i uploaded it. There are no doubt man things wrong. Looking quickly you might want to check the URL_ROOT_ABSOLUTE variable and see if its correct.

@youyouk
Copy link
Author

youyouk commented Dec 24, 2012

I changed the "URL_ROOT" path withe the real URL address, and CSS/ JS / etc works well, but I still have problem with pagination, and advanced functions (create , restore etc). I'll write the solution here when I'll find it.

I add the "Stackable" function to Tables, it works very well with Bootstrap js to add responsives capabilities to your Store Locator Admin (https://github.com/johnpolacek/stacktable.js/). Maybe you could integrate it in the next version ;)

@youyouk
Copy link
Author

youyouk commented Jan 2, 2013

I don't understand what's going wrong :-/ Do you think you could upload files used for your Demo of the Store Locator Admin ?

Best regards and happy new year :)

@youyouk
Copy link
Author

youyouk commented Jan 15, 2013

It finally works ! I had to to some tricks with the htaccess files, my problems with pagination and creating/editing pages was coming from here.

However, I can't use the backup/restore functions on server, because of the Privileges of my SQL Database. We must have the "root" Privileges, that is not allowed on a mutualised server (that explains it was working fine on Mamp/ Localhost).

Finally, I had to had a little trick on the Location.php in Library, to allow Coordinates beginnins with "0.something". Here in Europe, Most on my Locations weren't Geocoded because of this little bug.

In addition, it works very well with Bootstrap Framework (in order to make it responsive), and I'm implementing a User control /registration form to protect Locations.

Galen Store Loactor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants