FIRST OF ALL!!! SORRY FOR THE BAD ENGLISH IM FROM SPAIN AND I UNDERSTAND SOME WORDS OF ENGLISH BUT THE VERBAL TIMES ETC MAKE ME TROUBLES... IF U DON'T UNDERSTAND SOMETHING TELL ME PLEASE!
Hi, my name is Carlos NΓΊΓ±ez, maybe you remember me matty :)
Im working on first version of csgoshop web code and I found some issues or problems that I would discuss with the community.
The first one is the log folder. The system as, I can see in my 2 hours of investigation :P, works saving on a error.log all the issues that have any relation with the webpage but... where is that folder?
Right, you need to create that folder and give the properly permissions to work under apache also, inside the folder, you need to create a file named error.log to the correctly work of the system.
The second one is exactly the same like the first one but, this time, with the sessions folder. We need to create a folder where do we need to save the sessions files and then we can start to code. The session folder definition is on the app.php code inside the config folder.
The third and the most fucking hated but not sure if its a problem with the system or with my apache configuration is the named... "redirection infernal bucle of the dead"
If you are trying to run the app and after type the url u get some like http://nameoftheweb.com/nameoftheweb.com/nameoftheweb.com........./preregister you got that fucking error.
REPEAT IM NOT SURE IF IT IS AN ERROR OR A ISSUE WITH MY LOCALHOST SERVER CONFIGURATION.
How I fix it? I fix rewriting the redirect function from this:
public function redirect($url)
{
$this->app->router->flight->redirect($this->app->config->get('core.url') . $url);
}
to this:
public function redirect($url)
{
$this->app->router->flight->redirect($url);
}
The last one is an error with the core.static function used inside the tpl. My dirty fix of that was write manually the routes of css and images on layout.tpl
UPDATE 7-09-2014 23:18 PM Spanish time:
If you put in your app.php config an empty core url the system works great
Again give thanks to Matty and csgoshop developing team thanks for that work and that free code publish with that we can learn together and get a nice developing experiences.