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

PHP error while updating SOTA csv file #134

Closed
m0urs opened this issue May 7, 2023 · 0 comments · Fixed by #135
Closed

PHP error while updating SOTA csv file #134

m0urs opened this issue May 7, 2023 · 0 comments · Fixed by #135
Assignees
Labels
bug Something isn't working

Comments

@m0urs
Copy link
Owner

m0urs commented May 7, 2023

During update of the SOTA csv file with the URL

curl --silent https://CLOUDLOG_URL/index.php/update/update_sota

the following PHP error is generated:

<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Warning</p>
<p>Message:  Undefined variable $nCount</p>
<p>Filename: controllers/Update.php</p>
<p>Line Number: 371</p>

</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Warning</p>
<p>Message:  Undefined variable $nCount</p>
<p>Filename: controllers/Update.php</p>
<p>Line Number: 375</p>

The reason is a syntax error in line 371 in file "application/controllers/Update.php":

$$nCount = 0;

which should be:

$nCount = 0;

@m0urs m0urs self-assigned this May 7, 2023
@m0urs m0urs added the bug Something isn't working label May 7, 2023
m0urs added a commit that referenced this issue May 7, 2023
@m0urs m0urs linked a pull request May 7, 2023 that will close this issue
@m0urs m0urs closed this as completed in #135 May 7, 2023
m0urs added a commit that referenced this issue May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant