How-to: Make Codiad run with PHP 8 #1134
Comments
Hey there, I'm the lead developer of a fork of Codiad called Atheos that we just updated to natively run on PHP8 if you're interested in trying it out. I've been working on it for 2 years now maybe. |
This should be fixed by #1135 |
I have problem in get_magic_quotes_gpc() and my version php 8.0, i can fix it, or I need reinstall php version to 7.4? |
Codiad is no longer actively maintained. I maintain a modern and updated fork called Atheos that is tested with PHP8. |
Thanks @HLSiira <3 |
For those who want codiad to work with PHP 8, I forked it and made all the necessary changes and now it works on my end. Thanks to @JeanLescut and @user5518 for their fixes. I also had to replace the |
Hey, not trying to be rude, just shilling out where I can but just in case you didn't know, I've been supporting a fork of Codiad called Atheos that works well with PHP 8 as well as a ton of other features and improvements. |
Hi @HLSiira , I already saw your project and I appreciate your work. But for some people here, we don't need to switch to another tool because Codiad is already doing the job perfectly. Please avoid spam in every issue about it because it is really annoying while people are trying to deal with Codiad issues. Thanks |
Well I hope you don't mind me asking, but now I'm curious. What do you mean by switching to another tool? Atheos literally is an updated fork of Codiad, I took Codiad, forked it, made the same changes you've made about 2-3 years ago, and then some, and have continued optimizing it, and adding features based on issues opened by users. Codiad's issues are Atheos' issues, so what's the difference here? I'm sorry if this seems rude, but I'm not following what you're saying. |
In my case, downloading and configuring Atheos would take more time than changing the line of code that prevents Codiad from working with PHP 8. And I also tried to get Atheos working but it didn't work the first time. There is no reason to be rude, I'm just explaining why, in my case (which is probably the same for other people), fixing codiad (without needing to modify its appearance, its main functioning, etc. [as Atheos propose it]) was the best solution. |
After upgrading to PHP 8 on my home-Server, I got this error message in my logs:
PHP message: PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/html/codiad/components/filemanager/controller.php:57
In order to remove this error, simply change line 57 in controller.php from this:
$Filemanager->project = @$_SESSION['project']['path'];
to this:
if(isset($_SESSION['project']['path'])){ $Filemanager->project = @$_SESSION['project']['path']; }
The text was updated successfully, but these errors were encountered: