General discussion
Unable to get Codoforum working on a localhost environment (Windows 10 / Xampp)
Warning: session_start(): Failed to decode session object. Session has been destroyed in C:\xampp\htdocs\sys\CODOF\Util.php on line 93

Parse error: syntax error, unexpected token "*", expecting end of file in C:\xampp\htdocs\cache\HB\compiled\57397fb48242849719080522fa095531.php on line 2

I've tried reinstalling Xampp, making sure Apache and SQL are both on, and fully reinstalling Codoforum


The file in question begins with:


<?php 
*/
function lcr62fe908d3e7baraw($cx, $v, $ex = 0)
{
if ($ex) {
return $v;
}

```` Warning: session_start(): Failed to decode session object. Session has been destroyed in C:\xampp\htdocs\sys\CODOF\Util.php on line 93 Parse error: syntax error, unexpected token &quot;*&quot;, expecting end of file in C:\xampp\htdocs\cache\HB\compiled\57397fb48242849719080522fa095531.php on line 2 ```` I&#039;ve tried reinstalling Xampp, making sure Apache and SQL are both on, and fully reinstalling Codoforum The file in question begins with: ```` &lt;?php */ function lcr62fe908d3e7baraw($cx, $v, $ex = 0) { if ($ex) { return $v; } ````

Should be noted that the same exact files work if uploaded as a test to my Ubuntu Server running NGINX. So seems like a bug with Codologic working with Xampp or something.


Should be noted that the same exact files work if uploaded as a test to my Ubuntu Server running NGINX. So seems like a bug with Codologic working with Xampp or something.

Which version of PHP are you running on that server?


Which version of PHP are you running on that server?
Necessity is the mother of all inventions!

Which version of PHP are you running on that server?

PHP 8.0.9 (cli) (built: Jul 29 2021 14:12:19) ( ZTS Visual C++ 2019 x64 )
Copyright (c) The PHP Group
Zend Engine v4.0.9, Copyright (c) Zend Technologies


[quote=&quot;pid:25725, uid:1&quot;]Which version of PHP are you running on that server?[/quote] PHP 8.0.9 (cli) (built: Jul 29 2021 14:12:19) ( ZTS Visual C++ 2019 x64 ) Copyright (c) The PHP Group Zend Engine v4.0.9, Copyright (c) Zend Technologies

Hi


Codoforum does have some issues with PHP 8
We have already fixed it but the version is not released yet.


However we can email you the unreleased version if you just want to test on localhost.


Hi Codoforum does have some issues with PHP 8 We have already fixed it but the version is not released yet. However we can email you the unreleased version if you just want to test on localhost.
Necessity is the mother of all inventions!

Hi.


That'd be appreciated. You can get my email if you PM me or from the admin backend.


Hi. That&#039;d be appreciated. You can get my email if you PM me or from the admin backend.

It does not work for me, I still do not know why, if anyone knows, let me write why it is like that


It does not work for me, I still do not know why, if anyone knows, let me write why it is like that

It does not work for me, I still do not know why, if anyone knows, let me write why it is like that


@admin said

Codoforum does have some issues with PHP 8
We have already fixed it but the version is not released yet.


So, I guess wait for the next update of Codoforum. I've not heard BACK of admin sense they responded last, but I trust they are working on updates still.


[quote=&quot;pid:25744, uid:15076&quot;]It does not work for me, I still do not know why, if anyone knows, let me write why it is like that[/quote] @admin said [quote=&quot;pid:25727, uid:1&quot;]Codoforum does have some issues with PHP 8 We have already fixed it but the version is not released yet.[/quote] So, I guess wait for the next update of Codoforum. I&#039;ve not heard BACK of admin sense they responded last, but I trust they are working on updates still.

@EdwardNigma and @teodor32 You can trust the Codologic team - keep in mind they are only two brothers, thats the whole team (ya and me as a volunteer here at the community) - so please be a bit patient with them.

@admin and @adesh are updating Codoforum in regular intervals - so if they say they will update the Script you can count on them - but it will maybe take a bit of time.

Kind regards, WebCrew smile


@EdwardNigma and @teodor32 **You can trust the Codologic team** - keep in mind they are only **two brothers**, thats the whole team (ya and me as a volunteer here at the community) - so please be a bit patient with them. @admin and @adesh are **updating Codoforum in regular intervals** - so if they say they will update the Script you can count on them - but it will maybe take a bit of time. Kind regards, WebCrew ;)

https://net-twin.de/ Community for creative people - JOIN
https://github.com/WebCrew My GitHub account
https://prattle.space A niceTwitter alternative - JOIN
https://sell-co.de/ Lots of Tools and Utilities for free

edited Aug 30 '22 at 4:58 pm

Hi @EdwardNigma

We have emailed you the latest version. We plan to release this version by next week.


Hi @EdwardNigma We have emailed you the latest version. We plan to release this version by next week.
Necessity is the mother of all inventions!

We have emailed you the latest version. We plan to release this version by next week.


Okay thanks @admin!

[quote=&quot;pid:25757, uid:1&quot;]We have emailed you the latest version. We plan to release this version by next week.[/quote] Okay thanks @admin!

It seems like there might be an issue with the PHP syntax in the file mentioned. The error messages indicate problems with decoding the session object and a syntax error in the compiled PHP file.


To troubleshoot this, let's focus on the syntax error in the compiled file (57397fb48242849719080522fa095531.php). The error message suggests that there is an unexpected token "*", and it's expecting the end of the file.


Looking at the code snippet you provided, it seems like there's a comment block that is not closed properly. The opening comment tag / is there, but it lacks a corresponding closing tag /. To fix this, you should add the missing closing tag at the end of the comment block.


Here's the corrected version:


php
Copy code
<?php
/
/
function lcr62fe908d3e7baraw($cx, $v, $ex = 0)
{
if ($ex) {
return $v;
}
Make sure to save the file after making this correction and then try running your application again. This should resolve the syntax error, and you can see if it also resolves the session decoding issue.



It seems like there might be an issue with the PHP syntax in the file mentioned. The error messages indicate problems with decoding the session object and a syntax error in the compiled PHP file. To troubleshoot this, let&#039;s focus on the syntax error in the compiled file (57397fb48242849719080522fa095531.php). The error message suggests that there is an unexpected token &quot;*&quot;, and it&#039;s expecting the end of the file. Looking at the code snippet you provided, it seems like there&#039;s a comment block that is not closed properly. The opening comment tag /* is there, but it lacks a corresponding closing tag */. To fix this, you should add the missing closing tag at the end of the comment block. Here&#039;s the corrected version: php Copy code &lt;?php /* */ function lcr62fe908d3e7baraw($cx, $v, $ex = 0) { if ($ex) { return $v; } Make sure to save the file after making this correction and then try running your application again. This should resolve the syntax error, and you can see if it also resolves the session decoding issue. - [AC Football Cases](https://acfootballcases.com/product/leya-iseka-10-black-panzer/)
148
11
4
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft