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

[tips]Issues with core routes working on localhost #2

Closed
carlesnunez opened this issue Sep 7, 2014 · 47 comments
Closed

[tips]Issues with core routes working on localhost #2

carlesnunez opened this issue Sep 7, 2014 · 47 comments

Comments

@carlesnunez
Copy link

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.

@carlesnunez
Copy link
Author

New update of the system.

@carlesnunez
Copy link
Author

You can try my web version at http://csgoshop.carlos-nunez.es the bot system doesn't work im gonna understand it first

@Cronick
Copy link

Cronick commented Sep 8, 2014

Hey darkii21,

Do you have a steam account i can add you on, because i got something i would like to talk with you about :)

http://steamcommunity.com/id/iHacked/

This is my steam, i hope you will add me!

@carlesnunez
Copy link
Author

You have an invite man

@messiahking
Copy link

hello darkii21 add me on steam please http://steamcommunity.com/id/jawcsssss/

darkii21 need your help willing to pay

@carlesnunez
Copy link
Author

You have an invite

@carlesnunez carlesnunez changed the title Issues with core routes working on localhost [tips]Issues with core routes working on localhost Sep 9, 2014
@ElPresidentePro
Copy link

Yo soy español queria saber como hicistes lo del imgur que es que me salta un error Fatal error: Call to undefined function Imgur\Exception() in C:\xampp\htdocs\libs\imgur-php-wrapper\Imgur.php on line 60

@ElPresidentePro
Copy link

no le echo nada que tengo que hacerle

@ElPresidentePro
Copy link

y siempre me salen errores darki si puedes decirme donde hostieastes

@ElPresidentePro
Copy link

me eh gastado ya mucho dinero en hosting que no les sirve o no son compatibles

@carlesnunez
Copy link
Author

The imgur error is caused by a non configured imgur keys. You need to put the imgur api info in api.php inside config folder.

@ElPresidentePro
Copy link

ok gracias

@ElPresidentePro
Copy link

pls aceptame en steam

@YeSsKo
Copy link

YeSsKo commented Sep 10, 2014

darkii21 please add me
http://steamcommunity.com/profiles/76561198074792313/

@ElPresidentePro
Copy link

Darkii21 thanks for my problem but i have more errors view http://gyazo.com/5e2d7058f20e960b91dc8f68ebdb9960

spanish traslation: Tengo mas errores ya solucione aquel por favor dime a arreglar estos y ya te dejo con lo tuyo te recompensare en steam te dare algo ;D

@cody1997
Copy link

Man, add pls, i have question for you :3

http://steamcommunity.com/id/rexto1337/

@carlesnunez
Copy link
Author

last invites sended

@jamie-0-1
Copy link

@ElPresidentePro

  1. Create a folder called log in the same folder as index.php
  2. Open config/app.php and uncomment line #64

@nethious
Copy link

i'm getting this?

[18-Sep-2014 04:29:45 GMT] PHP Warning: session_save_path() expects parameter 1 to be string, array given in /home/shirtsfo/public_html/libs/CSGOShop.class.php on line 25
[18-Sep-2014 04:29:45 GMT] PHP Fatal error: Uncaught exception 'ActiveRecord\DatabaseException' with message 'exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'shirtsfo_csgo.users' doesn't exist' in /home/shirtsfo/public_html/libs/php-activerecord/lib/Connection.php:321
Stack trace:
#0 /home/shirtsfo/public_html/libs/php-activerecord/lib/Connection.php(321): PDOStatement->execute(Array)
#1 /home/shirtsfo/public_html/libs/php-activerecord/lib/adapters/MysqlAdapter.php(32): ActiveRecord\Connection->query('SHOW COLUMNS FR...')
#2 /home/shirtsfo/public_html/libs/php-activerecord/lib/Connection.php(264): ActiveRecord\MysqlAdapter->query_column_info('users')
#3 /home/shirtsfo/public_html/libs/php-activerecord/lib/Table.php(370): ActiveRecord\Connection->columns('users')
#4 /home/shirtsfo/public_html/libs/php-activerecord/lib/Cache.php(67): ActiveRecord\Table->ActiveRecord{closure}()
#5 /home/shirtsfo/public_html/libs/php-activerecord/lib/Table.php(370): ActiveRecord\Cache::get('get_meta_data-`...', Object( in /home/shirtsfo/public_html/libs/php-activerecord/lib/Connection.php on line 324

@jamie-0-1
Copy link

  1. Open config/app.php and uncomment line #64
  2. Import the database as you are missing the users table

@ElPresidentePro
Copy link

Jaime pls add me http://steamcommunity.com/id/73214214549367/

@nethious
Copy link

someone that has it working, please add me: http://steamcommunity.com/profiles/76561198114593060/

@ElPresidentePro
Copy link

when I go to log this happening to me
Error: http://gyazo.com/5898325c82ff2e016e6bce2144b60089
Web : http://csgosupermarket.tk/

Pls help me 👍

@ElPresidentePro
Copy link

@darkii21
Darkii21 porque cuando alguien se loguea pasa esto solo dime el porque que
yo lo arreglo si es de el sitio o del hosting pls http://csgosupermarket.tk/
prueba a loguearte

2014-09-18 23:59 GMT+02:00 nethious [email protected]:

someone that has it working, please add me:
http://steamcommunity.com/profiles/76561198114593060/


Reply to this email directly or view it on GitHub
#2 (comment).

@snitty
Copy link

snitty commented Oct 31, 2014

Well I have a question , everything loads and it's okay , but when I press on one of the menu buttons it shows me an error (same as every other button or link) , sends me to my main page and it says :
The page you requested could not be found.

Any ideas ?

If you want add me on Steam, Matty :
http://steamcommunity.com/id/snitty65

@ElPresidentePro
Copy link

yes

2014-10-31 1:16 GMT+01:00 snitty [email protected]:

Well I have a question , everything loads and it's okay , but when I press
on one of the menu buttons it shows me an error (same as every other button
or link) , sends me to my main page and it says :
The page you requested could not be found.

Any ideas ?


Reply to this email directly or view it on GitHub
#2 (comment).

@ElPresidentePro
Copy link

Add me and I'll explain steam: http://steamcommunity.com/id/73214214549367

2014-10-31 16:09 GMT+01:00 osmany gonzales [email protected]:

yes

2014-10-31 1:16 GMT+01:00 snitty [email protected]:

Well I have a question , everything loads and it's okay , but when I
press on one of the menu buttons it shows me an error (same as every other
button or link) , sends me to my main page and it says :
The page you requested could not be found.

Any ideas ?


Reply to this email directly or view it on GitHub
#2 (comment).

@jamie-0-1
Copy link

My recommendation to everyone would be not to use this code base, it isn't maintained, full of bugs and exploits.

@ElPresidentePro
Copy link

@Jamie96 TELL WHICH IS WHICH WOULD BE A GOOD BASE? sorry capital letters

@jamie-0-1
Copy link

Make your own base, if you can't then you shouldn't even be trying to set this one up

@ElPresidentePro
Copy link

I take a long time but luckily I have someone to help me rewrite this basis

@ElPresidentePro
Copy link

so not all that bad

@snitty
Copy link

snitty commented Oct 31, 2014

Problem #2
When I try to log it shows me this :
http://store.picbg.net/pubpic/30/6D/895cd302ead2306d.png

Happens every time I try to log in.

@ElPresidentePro
Copy link

you need to put in the folder login session

@ElPresidentePro
Copy link

Create a folder in the root called session and then go to config / app.php and finally put something not as plowing in linux but deves put the path

http://gyazo.com/6a40f6e918fb7f9eebdd64eb6263b5f1
http://gyazo.com/3815298fa7de68cc8f3a308a5671d482

@dragerlive
Copy link

Hi, help me
I have plroblem with this site http://csgo-randomazer.esy.es
Add me in steam pls
http://steamcommunity.com/profiles/76561198033074272/

@cody1997
Copy link

dragerlive, ебал я в рот этот исходник, там проще самому уже написать чем исправить 😸

@dragerlive
Copy link

Cody, можешь помочь?

@cody1997
Copy link

dragerlive, я б с удовольствием, только слишком много уже таких сайтов, смысла делать новый уже нет

@dragerlive
Copy link

Cody1997, Смысл тут не нужен :). Мне нужна помощь, исправить этот баг и сделать магазин.

@cody1997
Copy link

dragerlive, не, с этим дерьмом я даже возиться не буду, даже после решения всех багов там не работает показ инвентаря)

@dragerlive
Copy link

Ну ладно, спасибо за ответы :)

@dragerlive dragerlive mentioned this issue Dec 23, 2014
@ghost
Copy link

ghost commented Dec 28, 2014

http://prntscr.com/5lwjjp
Please help me )

@syncordyt
Copy link

is this script still being developed by someone? I have a problem here. Whenever user tried to log in using Steam login button. (We can click 'Yes, Sign in'), then it redirects to a long url and page is blank. What could be the problem?

@darkii21 - I'm gonna need you in here :)

@jamie-0-1
Copy link

If you can't fix that issue then you really should not be trying to get this codebase to work.

It is not finished. and will never be finished.

Its buggy and broken.

@syncordyt
Copy link

@Jamie96 - I'm just trying to see how this works. So no one else managed to fix that login bug?

@pakenukas
Copy link

@darkii21 could u please add me on steam, i really need help:) steamcommunity.com/id/pakenukas

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