-
Notifications
You must be signed in to change notification settings - Fork 194
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
totally broken on php 7.4 #363
Comments
copypaste is too busy with his little fight to give a shit about vichan. It was already dead, but now vichan is officially defunc'd. The best would be to create a fork of it and try to update little by little. I'd not mind helping. |
At least the problems seem to be simply syntactical, so easily fixable in a PR Make sure to read the README for information about current project status |
Gives me anxiety that every PHP update breaks shit. If that's the only problems, I think I could even fix this though. But who knows how bad it really is. |
They keep updating the language spec with every release with no regard for old code like ours. It's a shame no one seems to have forked PHP5. Their actions are reckless. |
For anyone on Arch, eventually the PHP 7.3 packages will break, so I'm leaving some instructions on how to compile the PHP 7.3 packages https://git.archlinux.org/svntogit/packages.git/log/?h=packages/php Here you can see all the changes made to the source files used to create the official PHP packages in the official Arch repo. We want to get the last commit of the files used to create the 7.3 packages. So in this case, I just did:
You now have the old files they used to build the official PHP 7.3 packages, just run This builds the following packages:
|
noobs. If anyone here would know how to run web pages you wouldnt have a problem. But instead youre trying to install things on arch which are not gonna help you folks lol. That is what i expect from "image board" devs who arent real devs. Why do you expect a such old and unmaintained software will work with the latest release of php7? you are free to use php5.6 but i feel like you folks didnt even know how to get the correct php version for your application installed. This thread and all associated threads anywhere are just showing off how youre unable to do real stuff expect hacking shit together. Probably it is no wonder if you actually are trying to run this bad code (and it was bad 10-20 years ago...) |
@jsmmo There's nothing special or specific about Arch in this regard except that it keeps up with the latest stable releases of PHP. Arch itself has never given me problems in this regard, it's upstream PHP. Our only option is staying on ancient distros still shipping old PHP packages (RHEL/CentOS/Debian) but how long can you do this and avoid newer PHP? Or build our own packages of older versions of PHP, or yes, hack vichan into compliance with every new PHP version that breaks compatibility with older PHP code. 5 -> 7 breaking stuff? Ok whatever Minor releases like 7.4 randomly breaking compatibility all the time because they don't like some random syntax anymore? Why? |
If you want to run it on the hottest php major version then you have to upgrade. You didnt even update to 7.0 and now expecting it to work out of nowhere. Just update. Else build 5.6 from the sources :1) If you want to make your life easy just use docker (or your arch hacked container of your choice). Its not like its not possible anymore... arent there any repos building old php images for hacky distros? |
I have to actually stop my OS from upgrading to the latest PHP version.
These are the only two solutions. |
The only things pointed out in here are deprecation warnings - not BC breaks. Have you tried turning off deprecation warning so it doesn't output to the buffer? |
@imliam's idea sounds good, and I have no problem adding e.g.: error_reporting(E_ALL & ~E_DEPRECATED); to the top of |
Do you mind testing the code above @z0z0z ? By the way, all the downvoters here and on Reddit, you have no idea what makes a programming language good or valuable and that's why you like PHP and think the PHP Group makes good decisions. Meanwhile JavaScript, C, Python (since 2008), Ruby (I think), all these language have managed to do something PHP Group is too inept to do: decide on a stable spec. |
Just stop. |
You don't call the shots here. JavaScript is not unstable at all. The earliest JavaScript code still works. If you have all the libraries everything runs great. Take a look at Dynamic Drive in any modern browser. What a lovely old site, innit? Really reminds me of my childhood. All the scripts still work just fine. I linked you one last updated in 2005. This is back when they were known as "DHTML". PHP scripts from 2005 don't run in a modern interpreter. What's the problem here? I don't need some "actual PHP guys" to tell me that the PHP Group's piss on my leg is actually rain water. |
By the way @jsmmo, it's laughable that a kid who registered his GitHub account under the name "JavaScript MMO" is both (a) knocking JavaScript and (b) trying to tell me how to run this project. At my previous job I patched a PHP extension written in C. I have written an Try being older than 23 and seeing projects you worked on in your youth rot because of terrible administration by the committee designated to look over the programming language's main implementation. |
Its funny how a js mmo can trigger a c developer like that. You should
reimplement this shitpile in a nginx extension if that is something you can
do.
Am Di., 14. Jan. 2020 um 08:30 Uhr schrieb Fredrick Brennan <
notifications@github.com>:
… By the way @jsmmo <https://github.com/jsmmo>, it's laughable that a kid
who registered his GitHub account under the name "*J*ava*S*cript *MMO*"
is trying to tell me how to run this project. At my previous job I patched
a PHP extension written in C. I have written an nginx native plugin as
well. You've done bare basic web development yet think you know everything.
Try being older than 23 and seeing projects you worked on in your youth
rot because of terrible administration by the committee designated to look
over the programming language's main implementation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#363?email_source=notifications&email_token=ALUXWDQOQ3TVZ3MRILLX2BTQ5VSXRA5CNFSM4JO47N72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI3TALI#issuecomment-574042157>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALUXWDWAENKGPABRTGFHDCDQ5VSXRANCNFSM4JO47N7Q>
.
|
Back when I developed imageboard software as a job, I considered implementing an imageboard in Lua, to be run in Nginx+Lua. So not quite what you propose, but close. Anyway, if running |
Its not about composer. If you used composer you wouldnt be able to run the
softwares years ago without upgrading it. Your static dependency management
did give you more years without fixing the old stuff but it doesnt help. I
also dont hope that you didnt got payed for that "quality".
Am Di., 14. Jan. 2020 um 08:53 Uhr schrieb Fredrick Brennan <
notifications@github.com>:
… Back when I developed imageboard software as a job, I considered
implementing an imageboard in Lua, to be run in Nginx+Lua. So not quite
what you propose, but close. Anyway, if running composer makes you an
expert, go give someone else your wisdom.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#363?email_source=notifications&email_token=ALUXWDUOLHXQ6DLUMRU3R4DQ5VVQ5A5CNFSM4JO47N72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI3U2YI#issuecomment-574049633>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALUXWDVCYPAL2K75D4FKUGLQ5VVQ5ANCNFSM4JO47N7Q>
.
|
Friend, I'm not even the original developer. In fact I'm not even developer №2. I'm developer №3. All of the important decisions had already been made by the time I became maintainer; in fact, even my good friend Marcin (№2) was constrained mightily by the original code. In any event, static dependency management was the only way to do things in 2010. Are you even old enough to remember 2010? Composer's initial release was in 2012! 😂 |
I did not say that its bad to skip composer? Composer is not the problem
here. Not a single bit.
You just dont know anything about software development. I hope that youre
not selling such shit. "Hey we do not update anything 😂"
Am Di., 14. Jan. 2020 um 09:06 Uhr schrieb Fredrick Brennan <
notifications@github.com>:
… Friend, I'm not even the original developer. In fact I'm not even
developer №2. I'm developer №3. All of the important decisions had already
been made by the time I became maintainer; in fact, even my good friend
Marcin (№2) was constrained mightily by the original code.
In any event, static dependency management was the only way to do things
in 2010. Are you even old enough to remember 2010? Composer's initial
release was in 2012! 😂
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#363?email_source=notifications&email_token=ALUXWDVJKTD7UX5ZRF2BAD3Q5VXBBA5CNFSM4JO47N72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI3V2ZY#issuecomment-574053735>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALUXWDXXGG22PR3FVWTZ6Z3Q5VXBBANCNFSM4JO47N7Q>
.
|
Vichan is not for sale. |
We need to contact STI and takeover the PHP council |
I don't see the outrage. Everyone and their mother knows Vichan is legacy and intended to work on poor performing versions of PHP. What are you even going to say when PHP8 is released with JIT and Vichan still uses Twig1.3 from 2010? |
I'm going to say: the fact that my code, which is only ten years old, doesn't work with minimal tinkering is a disgrace. Just as I've said today. Lua is another language which has managed to maintain a stable spec, despite its initial release having happened in 1993. They manage to have a JIT just fine. The PHP Group are simply lazy and believe their own language to be inferior, so they make it so through their decisions. |
Let's say you paint a beautiful picture on a nice piece of canvas. We have such paintings that are hundreds of years old. Nobody comes out and says, "oh they should have used these modern paints which are much better blah blah blah" and throws away the painting. My programs and my patches are my art. A lot of my programs actually literally generate art, they are my Python scripts intended for use with FontForge or GIMP (and then FontForge via autotrace). Vichan is one of my paintings. I put a lot of effort into it as a young man, as did many others. You think that Truly I tell you, I don't give two shits about such feelings. This code is valid, this code worked on real world systems, this code powered the websites of my youth. Your disregard for the past offends me, take your JIT (shit?) and shove it where the sun don't shine. GCC can manage it. Lua can manage it. JavaScript can manage it. Python can manage it, with asterisk. Perl can manage it. (In fact, I recently used a Perl program from 2004!) So why can't PHP manage it? Let me say it again: because they believe in themselves what their enemies say, that their language is poorly designed. |
well shucks, I'm sorry that you're insulted that I don't share your pov but frankly I've fixed more than enough of your and others bugs in the software that php updates don't really phase me anymore |
If you think I'm ``phased'' you really have no idea what I'm talking about. If you think I'm incapable of fixing these ``bugs'' (read: breakage intentionally foisted upon us by a corrupt, aloof hierarchy with no respect for history), you have no idea what you're talking about. This isn't about any one bug. But yes of course, I happily accept patches and always have. |
Having fixed my own fork to work on php7.4 the changes were nothing that incredible to blow my junior mind. It's certainly put upgrades to Twig as an important concern since the update has impacted template formatting, but i mean... why did no one ever update this to work with future releases... If anything I put my difficulties with this PHP update on the vichan team because I can't proceed with anything more than a hack fix until I modernize this aspect. I don't really care for the somewhat narcissistic belief that PHP owes you anything. The arguments seems somewhat manipulative if anyone even glances over the projects readme for a second |
A good programming language owes its users backwards compatibility. It's an implicit contract. They owe me it, yes, if they will be a good programming language. If they want to be "hip", they can go onto the garbage heap. I'm not expecting them to patch Vichan, I'm expecting them to uphold their duty to the community to maintain a stable language standard. I bet the scope resolution operator is still called T_PAAMAYIM_NEKUDOTAYIM, is it not? So they will keep in some changes based on BC, but not others because they're "bad design". 🙄 |
@ctrlcctrlv I stand with you! I put your video on 4usa.com We must save the internet and replace the PHP Group! :) |
Thank you @4usacom and @StephenLynx for the solidarity. @Appleman1234, please don't bother sending any of your PRs upstream. If we can't agree on this basic of an issue, I can't trust your judgment. Yes, I did notice your treason for Reddit upboats, and I am not impressed. |
@ctrlcctrlv You are totally right, and the reddit ppl who want to impress the world by trying to counter your valid points are doing so for entertainment, not the utility of truth. In other words... they are autistic idiots trying to make a name by challenging the champ (you)! To everyone ---- |
I'd like to follow up on the comment by @4usacom and say that my repository has seemed to resolve any immediate issues brought on by PHP 7.4. |
@Circlepuller Your fix is not good. I have committed a better fix, which consists of two parts:
I consider this issue closed. Note that I still consider the PHP Group to be wreckers. |
Oh, so |
Not a problem, haha. |
OK, merged :-) Seems I accidentally deleted a previous comment of yours, GitHub was acting up for me. Sorry |
Just as a heads up, things are totally broke for php 7.4
Deprecated: Array and string offset access syntax with curly braces is deprecated in inc/lib/IP/Lifo/IP/BC.php on line 105 Deprecated: Array and string offset access syntax with curly braces is deprecated in /inc/lib/IP/Lifo/IP/BC.php on line 105 Deprecated: Array and string offset access syntax with curly braces is deprecated in inc/lib/IP/Lifo/IP/BC.php on line 119 Deprecated: Array and string offset access syntax with curly braces is deprecated in inc/lib/IP/Lifo/IP/BC.php on line 119 Deprecated: Array and string offset access syntax with curly braces is deprecated in inc/lib/IP/Lifo/IP/BC.php on line 133 Deprecated: Array and string offset access syntax with curly braces is deprecated in inc/lib/IP/Lifo/IP/BC.php on line 133 Deprecated: Array and string offset access syntax with curly braces is deprecated in inc/lib/IP/Lifo/IP/BC.php on line 147 Warning: Cannot modify header information - headers already sent by (output started at board1/inc/lib/IP/Lifo/IP/BC.php:105) in oard1/inc/display.php on line 104 Deprecated: Unparenthesized
a ? b : c ? d : e
is deprecated. Use either(a ? b : c) ? d : e
ora ? b : (c ? d : e)
in inc/lib/Twig/Node.php on line 42 Deprecated: Unparenthesizeda ? b : c ? d : e
is deprecated. Use either(a ? b : c) ? d : e
ora ? b : (c ? d : e)
in public/board1/inc/lib/Twig/Node.php on line 198The text was updated successfully, but these errors were encountered: