PHP forum
162 FOLLOWERS
A community in which webmasters can ask for help with topics such as PHP coding, MySQL, IT jobs, web design, IT security.
PHP forum
1y ago
What I know about PHP would fit on a postage stamp.
I have a mini-PC running Ubuntu Desktop v24.04.
I installed Apache2.
I installed PHP8.1
I installed MediaWiki.
On the first run of MediaWiki, I get this error:
In case the image doesn't appear,
MediaWiki 1.39 internal error
Installing some PHP extensions is required.
You are missing a required extension to PHP that MediaWiki requires to run. Please install:
mbstring
intl
I did a sudo apt install of both missing extensions:
Code:
sudo apt install php-intlsudo apt install php-mbstring
No errors from the install.
But the error remains ..read more
PHP forum
1y ago
hehehe.... I said yes I did, and now I cant find it anymore. Did you delete it?
Statistics: Posted by NorseMan — Fri Mar 10, 2023 10:18 am ..read more
PHP forum
1y ago
Yes, i did, but there was a lot to go through, so I have to start on the configuration later.
By the way. I am using Workbench. Didn't know there was a debugger function there. I am just using it as an editor sometimes.
I read your posting and stay with Visual Studio, but thanks for trying. I will come back to this thread if i meet any problems of configuration of VS.
Statistics: Posted by NorseMan — Fri Mar 10, 2023 10:11 am ..read more
PHP forum
1y ago
Did you read my post about debugging?
You can also try phpstorm (there is a trial version) to test debugging (I never used that), but probably there is not more automated for debugging.
For mysql you can use official client - mysql workbench
Statistics: Posted by Michalio — Thu Mar 09, 2023 11:30 pm ..read more
PHP forum
1y ago
I know that you cannot open the folder locally, but with the API you can list the files from cloud and if the sync is enabled then the file list will be the same on cloud as on local folder and if you edit one file then it should be dowloaded by the onedrive app
Statistics: Posted by Michalio — Thu Mar 09, 2023 11:26 pm ..read more
PHP forum
1y ago
Hello All,
I am after some assistance/guidance on a new project I am working on.
I run an immersive event that I can only have 10 people per group in each time.
I would like to build a system that a member of staff can input the customers booking id and amount of people in their group, when the customers arrive on site.
Once this data is inputed by the staff member, the system should see if the amount of people in the customers group will fit into an existing group of customers or would a new group need to be created.
e.g.
An existing group (group A) has 3 customers that have checked in w ..read more
PHP forum
1y ago
Thank you Michalio
We are already using it but folders only open with a browser, we cannot make it to open locally...
Any other suggestions?
Thank you in advance.
Statistics: Posted by garysegal — Thu Mar 09, 2023 4:10 pm ..read more
PHP forum
1y ago
Use their API to connect and manipulate files. There is php package to do that:
https://github.com/krizalys/onedrive-php-sdk
Statistics: Posted by Michalio — Thu Mar 09, 2023 6:22 am ..read more
PHP forum
1y ago
Try to use slashes instead of backslashes and verify that you are linking valid path
Statistics: Posted by Michalio — Thu Mar 09, 2023 6:11 am ..read more
PHP forum
1y ago
To get the user data you are using:
Code:
get_userdata($history_value->userid)
To make your changes you need to read this: https://developer.wordpress.org/reference/classes/wp_user/
Additionaly you can get the user once, because the code get it twice
Statistics: Posted by Michalio — Thu Mar 09, 2023 7:20 am ..read more