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

ProjectSend r1330 throws SQLSTATE[42S22] error while adding client #1034

Closed
prbt2016 opened this issue Dec 2, 2021 · 5 comments
Closed

ProjectSend r1330 throws SQLSTATE[42S22] error while adding client #1034

prbt2016 opened this issue Dec 2, 2021 · 5 comments

Comments

@prbt2016
Copy link

prbt2016 commented Dec 2, 2021

Hello,

I was in the process of manual installation of ProjectSend version r1330 downloaded from official website i.e :

https://www.projectsend.org/download/409/ on PHP 7.1, MYSQL 5.5, Apache 2.2.

However post successful installation I encountered an issue while adding client from admin panel :

i.e Clients -> Add new and then I enter client details and click on Add client, blank page is shown.

So to debug further I enabled debug in /includes/app.php by setting define('DEBUG', true); , the following error is thrown :


Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'can_upload_public' in 'field list' in /{{PATH}}/{{TO}}/{{PROJECTSEND}}/includes/database.php:25 Stack trace: #0 /{{PATH}}/{{TO}}/{{PROJECTSEND}}/includes/database.php(25): PDO->prepare('INSERT INTO tbl...') #1 /{{PATH}}/{{TO}}/{{PROJECTSEND}}/includes/Classes/Users.php(420): PDOEx->prepare('INSERT INTO tbl...') #2 /{{PATH}}/{{TO}}/{{PROJECTSEND}}/clients-add.php(60): ProjectSend\Classes\Users->create() #3 {main} thrown in /{{PATH}}/{{TO}}/{{PROJECTSEND}}/includes/database.php on line 25

Could you please try to replicate this at your end?.

Awaiting your reply.

@uruk-hai-21
Copy link

Same for me
PHP 7.2/7.3/7.4

@kkplein
Copy link

kkplein commented Dec 2, 2021

Interesting. I just tried adding a new client on our (upgraded) r1330, and it worked fine: "Client created successfully."

@ignacionelson
Copy link
Collaborator

@prbt2016 Thanks for your report. This happened on a new installation instead of upgrading, right?

@ignacionelson
Copy link
Collaborator

@prbt2016 It was an issue with new installations. Please download again, I've replaced the file with the correct one

@prbt2016
Copy link
Author

prbt2016 commented Dec 2, 2021

Hello @ignacionelson ,

Thanks for looking into the issue and fixing it . Shall check it out .

Regards.

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

4 participants