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 issues #38

Open
3 tasks
gbowne1 opened this issue Oct 5, 2022 · 2 comments
Open
3 tasks

PHP issues #38

gbowne1 opened this issue Oct 5, 2022 · 2 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested
Milestone

Comments

@gbowne1
Copy link
Member

gbowne1 commented Oct 5, 2022

Theres a number of issues with the PHP files especially header.php and footer.php

There are some missing files referenced in the php code.

  • header.php
    line 19 !isAuthenticated is a undefined function (by intelephsense)

  • adminlogin.php
    syntax errors on line 14, 16 and 19

    Output one or more strings
    echo( string $arg1 [, string $... ]): void
    syntax error, unexpected '>'

  • view_users.php

    • missing delete.php file
    • line 5 errors:
      $view users query="select * from users";
     @var unset $view
    ';' expected. php
    syntax error, unexpected 'users' (T_STRING)
    syntax error, unexpected 'users' (T_STRING)
    ';' expected.  php
    Unexpected 'Name'. Expected ';'.intelephense(1001)
    
    • line 8 errors:
      $run mysqli query($dbcon,$view_users_query);

    • line 23 errors
      mainly syntax errors

@gbowne1 gbowne1 added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested labels Oct 5, 2022
@gbowne1 gbowne1 added this to the Website 0.1.0 milestone Oct 5, 2022
@wyntonfranklin
Copy link

hi @gbowne1 I would like to work on this

@gbowne1
Copy link
Member Author

gbowne1 commented Dec 31, 2022

Ok @wyntonfranklin I have assigned you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested
Projects
Status: Todo
Development

No branches or pull requests

2 participants