Recent Topics

1 Jul 18, 2015 15:33    

# I get an error at the top of my page www.miq.es

Notice: Trying to get property of non-object in /www/htdocs/w00d45e9/blogs/inc/_core/model/dataobjects/_dataobjectcache.class.php on line 346

Notice: Trying to get property of non-object in /www/htdocs/w00d45e9/blogs/inc/_core/model/dataobjects/_dataobjectcache.class.php on line 346

it seems this: (I deleted the cache before updating to speed up things! ALSO I use several B2EVO in one database with diferent table prefix to save valuable databases on my host, eventually it is that they all need to be same version B2EVO now ??)

/**
* Add a dataobject to the cache
*/
function add( & $Obj )
{
global $Debuglog;

ll($Obj->ID) ) // value 0 is used by item preview
{
$Debuglog->add( 'No object to add!', 'dataobjects' );
return false;
}

// fplanque: I don't want an extra (and expensive) comparison here. $this->cache[$Obj->ID] === $Obj.
// If you need this you're probably misusing the cache.
if( isset($this->cache[$Obj->ID]) )
{
$Debuglog->add( $this->objtype.': Object with ID '.$Obj->ID.' is already cached', 'dataobjects' );
return false;
}

// If the object is valid and not already cached:
// Add object to cache:
$this->cache[$Obj->ID] = & $Obj;
// Add a reference in the object list:
$this->DataObject_array[] = & $Obj;
// Add the ID to the list of IDs
$this->ID_array[] = $Obj->ID;

return true;
}

/**
* Instantiate a DataObject from a table row and then cache it.
*
* @p

2 Jul 18, 2015 18:06

seems it is a like a windows 8 disaster the version 6
Why are the menues changed?
You want to make b2evo more difficult?

I find a lot of unwanted changes and will never consider a version 6 update again
maybe better go to wordpress now!

Support might be better!

3 Jul 18, 2015 18:41

@ingeniero wrote earlier:

seems it is a like a windows 8 disaster the version 6
Why are the menues changed?
You want to make b2evo more difficult?

I find a lot of unwanted changes and will never consider a version 6 update again
maybe better go to wordpress now!

Support might be better!

## How can I roll back to version 5.2.2 stable ?

5 Jul 19, 2015 14:32

@ingeniero we'll fix these issues very quickly but please confirm which exact version you're using.

Also please tell use which menu changes are a problem for you. Screenshots with arrows and comments like 'I'm missing this or that here' may be a good/quick/easy way to tell us what you need.

For rolling back to v5, it's like any other software: you need to restore a backup.

6 Jul 19, 2015 19:15

### I hope this status copy in German is helpfull enough,,, the Menues I will comment in a separate thread.

b2evo
b2evolution-Version
6.6.0-stable veröffentlicht am 07/17/15
You are running the latest stable version of b2evolution.
Medienverzeichnis
Ok - /www/htdocs/w00d45e9/blogs/media/
Installationsordner
Nicht gelöscht - /www/htdocs/w00d45e9/blogs/install/
Für maximale Sicherheit empfehlen wir Ihnen, Ihren /blogs/install/-Ordner zu löschen, sobald Sie die Installation oder das Upgrade abgeschlossen haben.
Datenbank zurücksetzen
Verboten
Internal b2evo charset
utf-8
Blog count
7
Caching
Cache-Verzeichnis
Ok - /www/htdocs/w00d45e9/blogs/_cache/
Cache folder size
21 MB
Allgemeines Caching
Enabled
Einstellungen für Blog-Cache
7 enabled /7 blogs
Zeit
Serverzeit
07/19/15 - 19:11:44
GMT-/UTC-Zeit
07/19/15 - 17:11:44
b2evolution-Zeit
07/19/15 - 19:11:44
MySQL
MySQL-Version
5.5.43-nmm1-log
MySQL UTF-8 support
Ja
PHP
PHP running as USER:
www-data (uid 33)
PHP running as GROUP:
www-data (gid 33)
PHP version
5.2.17-nmm2
PHP register_globals
Aus
PHP allow_url_include
An
Dieses Feature ist bekannt dafür, die Bentzung von Hacking-Exploits für jede PHP-Applikation zu ermöglichen, wenn es aktiviert ist.
b2evolution enthält zusätzliche Maßnahmen, um davon nicht betroffen zu sein. Für maximale Sicherheit empfehlen wir Ihnen jedoch dieses PHP-Feature zu deaktivieren.
Wenn möglich, ändern Sie diese Einstellung in Ihrer php.ini-Datei auf allow_url_include = Off oder fragen Sie Ihren Host um Rat.
PHP Magic Quotes
An (magic_quotes_gpc)
PHP fügt zusätzliche Anführungszeichen zu allen Eingaben hinzu. Dies führt zu unnötigem Mehraufwand.
Wenn möglich, ändern Sie diese Einstellung in Ihrer php.ini-Datei auf magic_quotes_gpc = Off oder fragen Sie Ihren Host um Rat.
PHP upload_max_filesize
200M
PHP post_max_size
200M
post_max_size sollte größer als upload_max_filesize sein.
PHP memory_limit
256M
PHP max_execution_time
30 Sekunden
PHP forced max_execution_time
600 Sekunden
PHP mbstring extension
Geladen
PHP XML extension
Geladen
PHP IMAP extension
Geladen
PHP opcode cache
none
Mit der Benutung einer Opcode-Cache können Sie PHP-Scripts schneller laufen lassen, indem eine "zusammengeführte" (Opcode) Version der Scripte zwischengespeichert wird, anstatt alles bei jedem Laden einer Seite erneut zusammenzuführen. Es stehen mehrere Opcode-Caches zur Verfügung. Wir empfehlen APC.
GD Library (Bildverarbeitung)
GD Library-Version
bundled (2.0.34 compatible)
GD JPG Support
Lesen/Schreiben
GD PNG Support
Lesen/Schreiben
GD GIF Support
Lesen/Schreiben
GD FreeType Support
Ja

7 Jul 19, 2015 19:33

After editing the user with the error message here
the error message moved up on first line in page

8 Jul 19, 2015 19:40

I also would like to get rid of this security feature:

Jul-19 19:36:57 error core A redirection to an external URL http://made-in-quality.de/?disp=msgform was blocked for security reasons. Empty object ID
Jul-19 19:24:10 error core A redirection to an external URL http://computerdoktor.costa-sol.de/?disp=login&redirect_to=%2F%3Fdisp%3Duser%26user_ID%3D3&return_to=%2F%3Fdisp%3Duser%26user_ID%3D3&source=cannot%20see%20user was blocked for security reasons. Empty object ID
Jul-19 19:24:06 error admin core A redirection to an external URL http://marcoplast.com/internet-mit-skydsl-in-spanien?disp=page&title=internet-mit-skydsl-in-spanien&more=1&c=1&tb=1&pb=1 was blocked for security reasons. Empty object ID
Jul-19 19:17:34 erro

9 Jul 19, 2015 19:52

@amoun wrote earlier:

Have you tried moving v6 to an archive folder and then ftp 5.2.2?

EDIT I had similar problems: see comment on http://rogerlovejoy.net/blog/b2evo.php/upgrade-o-6-4-3?page=4 it may help direct you to a solution

EDIT and http://forums.b2evolution.net/fatal-error

EDIT On my machine I only see the problem in the right column. Try and remove the avatar widget and see what happens.

it depends, when I am logged in as Admin it is up 1st line logged out or other user errormessage is only in sidebar
seems it hast to do with user admin because I get these messages when I try to edit user!

10 Jul 19, 2015 20:00

The error seems to be related to my ADMIN profile, but I cannot delete or edit users!

11 Jul 19, 2015 20:06

Please note that the user menue has no paper bin here!

12 Jul 19, 2015 22:54

Thank you. We'll fix that on Monday.

14 Jul 20, 2015 11:43

i will try that now and edit the 5 files!

15 Jul 20, 2015 12:41

I have edited the 5 files manually but I get a diferent error now, maybe related to y wrong bracket in line 166 where I am not shure...

>` Parse error: syntax error, unexpected T_ELSE in /www/htdocs/w00d45e9/blogs/inc/files/model/_filerootcache.class.php on line 166`

attached the manual edited file as txt maybe you can check it ?


Attachments:

17 Jul 20, 2015 23:18

@ingeniero you made a wrong edit. Your line 162 is wrong. Delete it and you should be fine (compare with github again if needed)

You can also download complete files from GitHub if needed.

18 Jul 21, 2015 01:33

Thank you !
you are right!

I copied and pasted the complete content and it seems it works

actually I didn't find a way to download the complete .php file files at GitHub but copy and paste works ok too
just the line numbers changed!

19 Jul 23, 2015 17:20

its working well now
Thank you very much!
the changes are in the stable download included now?

If I update all my other b2evolution installations to 6.6.1 will it work fine?

20 Jul 23, 2015 17:23

Yes, of course all fixes are included in the latest release.

21 May 15, 2017 12:22

very simular to old error occured again if I want to upload jpg - can you help please?

ying to get property of non-object in /www/htdocs/w0126f39/colonia-aktenvernichtung.de/b2evolution/blogs/htsrv/quick_upload.php on line 249
{"success":{"text":"V2lyIGvDtm5uZW4gZGVuIE9yZG5lciA8Yj4vd3d3L2h0ZG9jcy93MDEyNmYzOS9jb2xvbmlhLWFrdGVudmVybmljaHR1bmcuZGUvYjJldm9sdXRpb24vYmxvZ3MvbWVkaWEvPC9iPiBuaWNodCDDtmZmbmVuLiBQSFAgYmVuw7Z0aWd0IGbDvHIgZGllc2VuIE9yZG5lciBBdXNmw7xocnVuZ3NiZXJlY2h0aWd1bmdlbi4=","status":"error","specialchars":0}}       
Upload FEHLER

{"success":

my system looks like this:

Instanzenname
b2evo 
b2evolution-Version
6.8.8-stable veröffentlicht am 9.03.2017 

You are running the latest stable version of b2evolution.
Medienverzeichnis
Ok - /www/htdocs/w0126f39/colonia-aktenvernichtung.de/b2evolution/blogs/media/ 
.htaccess
/www/htdocs/w0126f39/colonia-aktenvernichtung.de/b2evolution/blogs/.htaccess 
Warnung: .htaccess differs from sample.htaccess
Installationsordner
Gelöscht 
Internal b2evo charset
utf-8 
Blog count
5 
Caching
Cache-Verzeichnis
Ok - /www/htdocs/w0126f39/colonia-aktenvernichtung.de/b2evolution/blogs/_cache/ 
Cache folder size
88 MB 
Allgemeines Caching
Enabled 
Einstellungen für Blog-Cache
5 enabled /5 blogs 
Zeit
Serverzeit
15.05.2017 - 12:06:13 
GMT-/UTC-Zeit
15.05.2017 - 10:06:13 
b2evolution-Zeit
15.05.2017 - 12:06:13 
MySQL
MySQL-Version
5.5.52-nmm1-log 
MySQL UTF-8 support
Ja 
PHP
PHP running as USER:
w0126f39 (uid 1622) 
PHP running as GROUP:
w0126f39 (gid 1184) 
PHP version
5.6.29-nmm1  
PHP register_globals
Aus 
PHP allow_url_include
An 

Dieses Feature ist bekannt dafür, die Benutung von Hacking-Exploits für jede PHP-Applikation zu ermöglichen, wenn es aktiviert ist.

b2evolution enthält zusätzliche Maßnahmen, um davon nicht betroffen zu sein. Für maximale Sicherheit empfehlen wir Ihnen jedoch dieses PHP-Feature zu deaktivieren.

Wenn möglich, ändern Sie diese Einstellung in Ihrer php.ini-Datei auf allow_url_include = Off oder fragen Sie Ihren Host um Rat.
PHP Magic Quotes
Aus 
PHP upload_max_filesize
32M 
PHP post_max_size
40M 
PHP memory_limit
384M 
PHP forced max_execution_time
600 Sekunden 
b2evolution war in der Lage mehr Zeit anzufordern (als die standardmäßigen 30 Sekunden), um Komplexe Aufgaben auszuführen.
PHP mbstring extension
Geladen 
PHP XML extension
Geladen 
PHP IMAP extension
Geladen 
PHP opcode cache
none 
Mit der Benuzung eines Opcode-Cache können Sie PHP-Scripts schneller laufen lassen, indem eine "zusammengeführte" (Opcode) Version der Scripte zwischengespeichert wird, anstatt alles bei jedem Laden einer Seite erneut zusammenzuführen. Es stehen mehrere Opcode-Caches zur Verfügung. Wir empfehlen APC (was in PHP ab PHP 7 enthalten ist).
PHP user cache
none 
Mit der Verwendung eines Benutzer-Cache kann b2evolution zwischengespeicherte Daten (Block Cache) im Speicher lagern, anstatt bei jedem Laden die Blöcke neu zu generieren. Es stehen mehrere Benutzer-Cache zur Verfügung. Wir empfehlen APCu (was separat von APC, beginnend mit PHP 7, aktiviert werden muss).
GD Library (Bildverarbeitung)
GD Library-Version
bundled (2.1.0 compatible) 
GD JPG Support
Lesen/Schreiben 
GD PNG Support
Lesen/Schreiben 
GD GIF Support
Lesen/Schreiben 
GD FreeType Support
Ja 
APIs
REST API
OK 
http://colonia-aktenvernichtung.de/api/v6/collections
XML-RPC
OK 
http://colonia-aktenvernichtung.de/xmlrpc.php
AJAX anon_async.php
OK 
http://colonia-aktenvernichtung.de/htsrv/anon_async.php?action=test_api
AJAX async.php
OK 
http://colonia-aktenvernichtung.de/htsrv/async.php?action=test_api
AJAX action.php
OK 
http://colonia-aktenvernichtung.de/htsrv/action.php?mname=test_api
AJAX call_plugin.php
OK 
http://colonia-aktenvernichtung.de/htsrv/call_plugin.php?plugin_ID=-1&method=test_api

22 May 24, 2017 07:46

@ingeniero I would like to assist you with the issue that you're having. From the information that you provided it seems like you're having a problem with access to certain FileRoots. Could you please elaborate under what circumstances does the issue come up? It would be very helpful if you could provide the steps to replicate the issue and also the user's and the collection's permission settings if possible.


Form is loading...