Mikk36 / eve-online-carebear-statistics

Automatically exported from code.google.com/p/eve-online-carebear-statistics
0 stars 1 forks source link

cron.php somehow uses specialchar translation #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. installed the software
2. configured the it
3. imported the sql
4. ran the cron job --

What is the expected output? What do you see instead?
expected: api fetch

instead I got this message:
<br />
<b>Warning</b>:  
file_get_contents(https://api.eve-online.com/corp/WalletJournal.xml.aspx?keyID=X
XXXXX&amp;vCode=XXXXXXXXXXXXXX&amp;characterID=XXXXXXXXXX&amp;rowCount=100): 
failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
 in <b>/real location/carebear/cron.php</b> on line <b>104</b><br />
Could not fetch data

What version of the product are you using? On what operating system?
Full pack from 2011/12

Please provide any additional information below.
As you can see it converted the & in the url into &amp; and therefor can`t 
reach the api... Sadly I don`t know how to fix that. I scrolled in the cron.php 
to the line and there are the variables correctly linked with & .
I don`t understand why it`s translated into &amp; when the script runs.

Original issue reported on code.google.com by tuck.dav...@googlemail.com on 30 Nov 2014 at 8:39

GoogleCodeExporter commented 8 years ago
alrdy sorted :) 
the encoding issue was just a browser output issue.

all happends cause of the wrong url in the config file... it`s eveonline.com 
not eve-online.com :)

works like a charm now

Original comment by tuck.dav...@googlemail.com on 30 Nov 2014 at 9:57

GoogleCodeExporter commented 8 years ago
User error.

Original comment by mik...@gmail.com on 30 Nov 2014 at 10:54