later edit:
closed subject
Please report any issues that are appropriate to the forum topics.
Images are distorted.
Not enough source of problem specified.
site address not specified.
Add clear and explicit information, add the site address that is experiencing the problem. Add the Error.log record.
I suspect you have either corrupted your backup sql in some way or you are using a later version of php which might require fields to have a default value. I dont know unless i look to see whats there. But you can look at it, just open up your phpmyadmin and open up the comments table, click the structure tab at the top and see if likes is suppose to have a default value. Then look at the data and see if it has one.
If you see that all other like fields have values but one does not, then change that value of the one that does not to look like the other fields. As that might be the record that is tripping the error.
Also some fields with the new php get tripped up because it equates 0 to null and not a value so youll have to look and see. So in that case you may see 0 in the field but it will still flag it because it sees that as null in some cases.
Just back up your db first.
Marius, buddy,
Added a reply to your help message for the problem.
I think the problem is more than your record.
Mysql connection number is missing, I think you have used suhis updates.
Your site has missing css, js, mysql issues in the active newsletter.
Your message has been specified.
You should avoid too much load.
You should avoid adding too many plugins at a time.
Plugin installation should be done following the process.
Note that some developers may add a lot of features into a plugin.
It can adapt the same process with different requests in 2 different extensions. This affects the work in the source plug-in.
hello i belive i am having a similiar issue relalted to this newsfedd post
i switched back to php 7.1 and so far i dont get parse errors
but what happens is when i post a comment in the whats happening comment box on my profile page, then if i refesh the webpage or changes pages and go back the comment is gone
i tried using some php 5 to php 7 static anylsis tolls but still cant fixc it
and i tried phan but its complex and i cant get to wotk
would anyone know the codebase source code fic for this bug or maybe it can be fixes in the admin
thxz for any help
Lisa
hello sir
thank you for the reply
i will go check in the folder and file
ow_log/error.log.
and then post contents here
lisa regards
i found this line in the erro log file
it should be related to my issue which when i comment on my profile page after a browser refresh the comment disappers
i have just begun to search the erro line on the net but if you know the adjustments to the code kindly let me know if thats ok or there is another way around this and will it also precvent parse eroors ?
well anywayys thank you
*****
[Sun Sep 8 7:04:10 2019] [ow_core_log] [Notice] Message: The each() function is deprecated. This message will be suppressed on further calls File: /homepages/htdocs/backup/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_compilebase.php Line:78
PHP 7 release error (each) PHP 7 version is no longer used.
Please send your site address as a message.
You may need extra login information.
hello sir
thank you for the reply
but i dont understand your request
ok thanks
i am reading some articles on this issue and it seems i hav to change to foreach
not sure how
here is the affected code
*****
// loop over attributes
foreach ($attributes as $key => $mixed) {
// shorthand ?
if (!is_array($mixed)) {
// option flag ?
if (in_array(trim($mixed, '\'"'), $this->option_flags)) {
$_indexed_attr[trim($mixed, '\'"')] = true;
// shorthand attribute ?
} elseif (isset($this->shorttag_order[$key])) {
$_indexed_attr[$this->shorttag_order[$key]] = $mixed;
} else {
// too many shorthands
$compiler->trigger_template_error('too many shorthand attributes', null, true);
}
// named attribute
} else {
$kv = each($mixed);
****
*******
My word is very clear.
I don't know what a contradiction.
See some features removed in the new version of php7.
We corrected ourselves. As Oxwall's help team, we only help people.
A each and foreach loop are different,
If the objective is not correct, the result is false.
I believe you can find more information by looking at the forum topics.
I hope you get the answer you want.
You can use one that has a lot of updated work on forum content.
I cannot help you without your address and authorization. Please search as PHP 7 issues.
should i replace line 78
$kv = each($mixed);
with this ?
foreach ($mixed as $kv => $kv );
i guess i will post new topic for this issue i have
cuz i dont understand your responses
i gueuss also i need to put in the forum search box php 7 issues?
also you said you help people ok so thats why im here
well anyways thank you
lisa
please use a few posts open now about this issue.The forum page will open in your search for PHP 7 issues.You can make a copy from this source where new edits are added.
Re-add the contents of ow_libraries to your site.Remove all old content and add all the resulting files.
hello sir
ok let me try these new commits from your link and update ow_libraires
and see results
i will update here on results and search forum for PHP7 issues if still not resolved
regards
hello sir
i just want to update you and forum
i downloaded and fully instlled the git hub sofware link you gave me and this resovles the comment system not displaying comments after browser refresh and also it seems that its 7.x(3) php compatible and no parse errors should appear
but i found also a more efficient way to update an exisiting software webapp based on this platform it would be to run the PATCH
https://www.chamial.com/docs/faq/oxwall-to-chamial/patch-oxwall-to-chamial/
to get best results continue to update from ver build 1.8.4 all the way to 1.9.10
and this will now be up to date with php 7.3
regards
thank you sir
Lisa