Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
View php syntax errors
Re: View php syntax errors
Hi Kev1n, Not much is said in the Wiki about using nuEval(). How is it used?
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: View php syntax errors
Whenever a Procedure is run, nuEval() is executed.
It's an internal function, you do not need to call it directly.
It's an internal function, you do not need to call it directly.
Re: View php syntax errors
Well I finally got a chance to try this and I can't see any difference as I still just get a blank screen if there's a php error. The errors can be seen on the apache2 error log.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: View php syntax errors
Code: Select all
[Mon Oct 23 08:24:13.916042 2023] [proxy_fcgi:error] [pid 90253] [client 192.52.251.253:59278] AH01071: Got error 'PHP message: PHP Warning: move_uploaded_file(files/PurchaseOrder.xlsx): Failed to open stream: Permission denied in /var/www/html/db/libs/upload/upload1.php on line 10PHP message: PHP Warning: move_uploaded_file(): Unable to move "/tmp/php0FBCU0" to "files/PurchaseOrder.xlsx" in /var/www/html/db/libs/upload/upload1.php on line 10', referer: https://dbs.winecountry-bbq.com/index.php

nuBuilder offers lots of great functions as a good API to PHP. Once you start to use those in your code you're limited to the "developer" functions built in to nuBuilder. A full blown line by line debugger would be awesome, but that's probably not in the cards. I'm saying this because there's a ton of locked up potential here.