#TheEmperor

1 messages · Page 1 of 1 (latest)

inland sorrelBOT
dark oak
#

Hi there

#

You are seeing a 500 at what point?

tawdry whale
#

on the success page after checkout,

#

no session data was retrieved, is this normal

#

the get-checkout-session is looking for config.ini

dark oak
#

Sounds like you are attempting to retrieve the Session after the redirect and your server is running into an issue and returning a 500

tawdry whale
#

<b>Warning</b>: parse_ini_file(C:\wamp\www\checkout\server\config.ini): failed to open stream: No such file or directory in <b>C:\wamp\www\checkout\server\public\shared.php</b> on line <b>7</b><br />
{"error":"Internal server error."}

#

config.ini doesn't exist

#

the sample code provided in github is not complete, it's missing config.ini which is not mentioned anywhere

dark oak
#

Which sample are you following exactly?

tawdry whale
#

I used CLI to clone the repo.

tawdry whale
#

Can I perhaps hire a dev to help me here, to do a screenshare and go through it in detail

dark oak
tawdry whale
tawdry whale
dark oak
#

That all depends on your code

tawdry whale
#

I didn't change anything...

dark oak
#

If you just cloned the sample and ran it, then it is possible there is a bug in the sample.

#

I'd need to reproduce it and look at it, but I can't do that this second.

#

You as a developer are supposed to be able to debug any code that you are running

tawdry whale
#

I have, and i showed you the details

#

<br />
<b>Warning</b>: parse_ini_file(C:\wamp\www\checkout\server\config.ini): failed to open stream: No such file or directory in <b>C:\wamp\www\checkout\server\public\shared.php</b> on line <b>7</b><br />
{"error":"Internal server error."}

#

since the sample code is looking for config.ini, it's not there, so my question is, what does config.ini look like?

#

The readme doesn't mention such a file

#

am I supposed to make that file?

celest fulcrum
#

As far as I know you're not supposed to make that file

tawdry whale
#

ok, but the default code is looking for that file

celest fulcrum
#

Hmmm... It may just be that this sample is broken