Recent Topics

1 Apr 29, 2010 17:52    

My b2evolution Version: 2.x

Ok, here is my error code in 2.4.7

Fatal error: Call to a member function on a non-object in /var/www/vhosts/tailwheelsetc.com/httpdocs/blogs/inc/_main.inc.php on line 447

I have tried the php.ini file in the rootserver and in the htsvr, heck, anywhere I thought it would be useful, and I am still getting the error. I really want to use this program, but may have to use a different blog program if I can't get this to work

Line 447 in _main.inc.php is the following:
$User = & $UserCache->get_by_login($login);

Help!

2 May 01, 2010 06:25

You're using an outdated version of PHP, probably < 4.3
You should update to PHP 5 or at least to v4.3

An outdated version of Zend Optimizer may cause this kind of errors too

3 May 03, 2010 15:06

I knew I was using an older version of MySQL, that's why I am using the older version B2Evolution, but an older version of php? How do I check what version of php I am running? How do I update?
Thanks for any help.

4 May 03, 2010 17:31

You should be able to check it in hosting control panel.

5 May 03, 2010 22:21

No such thing.
I upload all of my stuff via FTP. There is no user CP.

6 May 03, 2010 22:31

Who is your hosting provider?

7 May 03, 2010 22:37

My Boss's company. I believe he uses Plesk. I have no access to that though.

Now, I read a previous post that was having the same error message, and their issue was the Zend Optimizer. They provided a php.ini file to insert into the root folder to help with that (It worked for them) but it did nothing for me.

I really want to just get this done. I have no problems installing the files, I just can't log in with the temporary login info it gives me without getting this message.

8 May 03, 2010 22:45

You can't do much if the server doesn't read custom php.ini and you don't have root access. You need to contact server administrator.

Upload a file info.php with the following content, and open it in web browser.

<?php

phpinfo();

?>

9 May 11, 2010 16:47

I can't. I tried but I don't have permission to upload to the root at least. Which is wierd, because I was able to upload all of the rest of the files.

I think I am going to have to find a different blog to use. :-(

10 May 11, 2010 18:57

Assume "root" means "/var/www/vhosts/tailwheelsetc.com/httpdocs/" ?

Gonna be a tad tough to try another blog software ;)

¥

11 May 11, 2010 19:22

¥åßßå wrote:

Assume "root" means "/var/www/vhosts/tailwheelsetc.com/httpdocs/" ?

I guess "htdocs" access doesn't let you edit apache config files

12 May 11, 2010 20:58

Apart from the fact that htdocs doesn't exist ... phpinfo() is hardly an apache config file ;)

¥

14 May 12, 2010 16:39

¥åßßå wrote:

Assume "root" means "/var/www/vhosts/tailwheelsetc.com/httpdocs/" ?

Gonna be a tad tough to try another blog software ;)

¥

I can upload fine to httpdocs/ though that one for some reason is giving me issues.
As for trying another blog program, why would it be tough? there are blog programs out there that run using perl, and that I know works on my server.

15 May 12, 2010 17:17

If you couldn't upload files to httpdocs then you'd have trouble installing anything ;)

Weird that it seems to dislike just that file though, so lets try some things :

1) change the file name, call it foo.php (same content)

<?php
phpinfo();
?>

2) change the content ( call file what-you-like.php )

<?php
$foo = 'php'.'info';
$foo();
?>

3) .... urm, lets see if 1 or 2 work first :D

¥

16 May 18, 2010 21:47

Okay got the info.php to work.
What am I looking for?


System  Linux crownjewels.com 2.6.9-023stab046.2-smp #1 SMP Mon Dec 10 15:07:07 MSK 2007 i686  
Build Date  Nov 15 2005 16:49:47  
Configure Command  './configure' '--host=i686-redhat-linux-gnu' '--build=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4=/usr' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal' '--with-apxs2filter=/usr/sbin/apxs'  
Server API  Apache 2.0 Filter  
Virtual Directory Support  disabled  
Configuration File (php.ini) Path  /etc/php.ini  
Scan this dir for additional .ini files  /etc/php.d  
additional .ini files parsed  /etc/php.d/imap.ini, /etc/php.d/ioncube-loader.ini, /etc/php.d/ldap.ini, /etc/php.d/mysql.ini, /etc/php.d/odbc.ini, /etc/php.d/pgsql.ini, /etc/php.d/sitebuilder.ini, /etc/php.d/zip.ini  
PHP API  20020918  
PHP Extension  20020429  
Zend Extension  20021010  
Debug Build  no  
Thread Safety  disabled  
Registered PHP Streams  php, http, ftp, https, ftps, compress.bzip2, compress.zlib  

 This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies with Zend Extension Manager v1.0.6, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.7, Copyright (c) 1998-2004, by Zend Technologies  


--------------------------------------------------------------------------------

PHP Credits

--------------------------------------------------------------------------------

Configuration
PHP Core
Directive Local Value Master Value 
allow_call_time_pass_reference On On 
allow_url_fopen On On 
always_populate_raw_post_data Off Off 
arg_separator.input & & 
arg_separator.output & & 
asp_tags Off Off 
auto_append_file no value no value 
auto_prepend_file no value no value 
browscap no value no value 
default_charset no value no value 
default_mimetype text/html text/html 
define_syslog_variables Off Off 
disable_classes no value no value 
disable_functions no value no value 
display_errors On On 
display_startup_errors Off Off 
doc_root no value no value 
docref_ext no value no value 
docref_root no value no value 
enable_dl On On 
error_append_string no value no value 
error_log no value no value 
error_prepend_string no value no value 
error_reporting 2039 2039 
expose_php On On 
extension_dir /usr/lib/php4 /usr/lib/php4 
file_uploads On On 
gpc_order GPC GPC 
highlight.bg #FFFFFF #FFFFFF 
highlight.comment #FF8000 #FF8000 
highlight.default #0000BB #0000BB 
highlight.html #000000 #000000 
highlight.keyword #007700 #007700 
highlight.string #DD0000 #DD0000 
html_errors On On 
ignore_repeated_errors Off Off 
ignore_repeated_source Off Off 
ignore_user_abort Off Off 
implicit_flush Off Off 
include_path .:.: .:.: 
log_errors Off Off 
log_errors_max_len 1024 1024 
magic_quotes_gpc On On 
magic_quotes_runtime Off Off 
magic_quotes_sybase Off Off 
max_execution_time 30 30 
max_input_time 60 60 
memory_limit 32M 32M 
open_basedir /var/www/vhosts/tailwheelsetc.com/httpdocs:/tmp no value 
output_buffering no value no value 
output_handler no value no value 
post_max_size 8M 8M 
precision 14 14 
register_argc_argv On On 
register_globals On On 
report_memleaks On On 
safe_mode On Off 
safe_mode_exec_dir no value no value 
safe_mode_gid Off Off 
safe_mode_include_dir no value no value 
sendmail_from me@localhost.com me@localhost.com 
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i 
serialize_precision 100 100 
short_open_tag On On 
SMTP localhost localhost 
smtp_port 25 25 
sql.safe_mode Off Off 
track_errors Off Off 
unserialize_callback_func no value no value 
upload_max_filesize 2M 2M 
upload_tmp_dir no value no value 
user_dir no value no value 
variables_order EGPCS EGPCS 
xmlrpc_error_number 0 0 
xmlrpc_errors Off Off 
y2k_compliance On On 


Zend Optimizer
Optimization Pass 1  enabled  
Optimization Pass 2  enabled  
Optimization Pass 3  enabled  
Optimization Pass 4  enabled  
Optimization Pass 9  disabled  
Zend Loader  enabled  
License Path  no value  


apache2filter
bcmath
BCMath support  enabled  


bz2
BZip2 Support  Enabled  
BZip2 Version  1.0.2, 30-Dec-2001  


calendar
Calendar support  enabled  


ctype
ctype functions  enabled  


curl
CURL support  enabled  
CURL Information  libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.1.4  


dba
DBA support  enabled  
Supported handlers  cdb cdb_make db4 flatfile  


dbx
dbx support  enabled  
dbx version  1.0.0  
supported databases  MySQL ODBC PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8) Sybase-CT  

Directive Local Value Master Value 
dbx.colnames_case unchanged unchanged 


dio
dio support  enabled  


domxml
DOM/XML  enabled  
DOM/XML API Version  20020815  
libxml Version  20510  
HTML Support  enabled  
XPath Support  enabled  
XPointer Support  enabled  


exif
EXIF Support  enabled  
EXIF Version  1.4 $Id: exif.c,v 1.118.2.19 2003/04/16 18:25:35 helly Exp $  
Supported EXIF Version  0220  
Supported filetypes  JPEG,TIFF  


ftp
FTP support  enabled  


gd
GD Support  enabled  
GD Version  bundled (2.0.12 compatible)  
FreeType Support  enabled  
FreeType Linkage  with freetype  
GIF Read Support  enabled  
JPG Support  enabled  
PNG Support  enabled  
WBMP Support  enabled  
XBM Support  enabled  


gettext
GetText Support  enabled  


gmp
gmp support  enabled  


iconv
iconv support  enabled  
iconv implementation  glibc  
iconv library version  2.3.2  

Directive Local Value Master Value 
iconv.input_encoding ISO-8859-1 ISO-8859-1 
iconv.internal_encoding ISO-8859-1 ISO-8859-1 
iconv.output_encoding ISO-8859-1 ISO-8859-1 


imap
IMAP c-Client Version  2001  
SSL Support  enabled  
Kerberos Support  enabled  


ldap
LDAP Support  enabled  
RCS Version  $Id: ldap.c,v 1.130.2.4 2003/04/30 21:54:02 iliaa Exp $  
Total Links  0/unlimited  
API Version  2004  
Vendor Name  OpenLDAP  
Vendor Version  20026  


mbstring
Multibyte Support  enabled  
Japanese support  enabled  
Multibyte (japanese) regex support  enabled  

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. 

Directive Local Value Master Value 
mbstring.detect_order no value no value 
mbstring.encoding_translation Off Off 
mbstring.func_overload 0 0 
mbstring.http_input pass pass 
mbstring.http_output pass pass 
mbstring.internal_encoding none none 
mbstring.language neutral neutral 
mbstring.substitute_character no value no value 


mysql
MySQL Support enabled 
Active Persistent Links  0  
Active Links  0  
Client API version  3.23.58  
MYSQL_MODULE_TYPE  external  
MYSQL_SOCKET  /var/lib/mysql/mysql.sock  
MYSQL_INCLUDE  -I/usr/include/mysql  
MYSQL_LIBS  -L/usr/lib/mysql -lmysqlclient  

Directive Local Value Master Value 
mysql.allow_persistent On On 
mysql.connect_timeout -1 -1 
mysql.default_host no value no value 
mysql.default_password no value no value 
mysql.default_port no value no value 
mysql.default_socket no value no value 
mysql.default_user no value no value 
mysql.max_links Unlimited Unlimited 
mysql.max_persistent Unlimited Unlimited 
mysql.trace_mode Off Off 


odbc
ODBC Support enabled 
Active Persistent Links  0  
Active Links  0  
ODBC library  unixODBC  
ODBC_INCLUDE  -I/usr/local/include  
ODBC_LFLAGS  -L/usr/local/lib  
ODBC_LIBS  -lodbc  

Directive Local Value Master Value 
odbc.allow_persistent On On 
odbc.check_persistent On On 
odbc.default_db no value no value 
odbc.default_pw no value no value 
odbc.default_user no value no value 
odbc.defaultbinmode return as is return as is 
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes 
odbc.max_links Unlimited Unlimited 
odbc.max_persistent Unlimited Unlimited 


openssl
OpenSSL support  enabled  
OpenSSL Version  OpenSSL 0.9.7a Feb 19 2003  


overload
User-Space Object Overloading Support  enabled  


pcre
PCRE (Perl Compatible Regular Expressions) Support  enabled  
PCRE Library Version  3.9 02-Jan-2002  


posix
Revision  $Revision: 1.51.2.2 $  


pspell
PSpell Support  enabled  


session
Session Support  enabled  
Registered save handlers  files user  

Directive Local Value Master Value 
session.auto_start Off Off 
session.bug_compat_42 On On 
session.bug_compat_warn On On 
session.cache_expire 180 180 
session.cache_limiter nocache nocache 
session.cookie_domain no value no value 
session.cookie_lifetime 0 0 
session.cookie_path / / 
session.cookie_secure Off Off 
session.entropy_file no value no value 
session.entropy_length 0 0 
session.gc_divisor 100 100 
session.gc_maxlifetime 1440 1440 
session.gc_probability 1 1 
session.name PHPSESSID PHPSESSID 
session.referer_check no value no value 
session.save_handler files files 
session.save_path /tmp /tmp 
session.serialize_handler php php 
session.use_cookies On On 
session.use_only_cookies Off Off 
session.use_trans_sid Off Off 


shmop
shmop support  enabled  


sitebuilder
SiteBuilder support enabled 1.0.1 
SB Database support  enabled  1.0  
SB Database MySql support  enabled  3.23.58  
SB Database Sqlite support  enabled  3.2.2  
SB Database ODBC support  disabled  no value  
SB File support  enabled  1.0  
SB XSLT support  enabled  1.0  
SB GPG support  enabled  1.0  
SB Logger  enabled  1.0  
SB FTP client  enabled  1.0  
SB Storage  enabled  1.0  
SB XML  enabled  0.1a  


sockets
Sockets Support  enabled  


standard
Regex Library  Bundled library enabled  
Dynamic Library Support  enabled  
Path to sendmail  /usr/sbin/sendmail -t -i  

Directive Local Value Master Value 
assert.active 1 1 
assert.bail 0 0 
assert.callback no value no value 
assert.quiet_eval 0 0 
assert.warning 1 1 
auto_detect_line_endings 0 0 
default_socket_timeout 60 60 
safe_mode_allowed_env_vars PHP_ PHP_ 
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH 
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset= 
user_agent no value no value 


tokenizer
Tokenizer Support  enabled  


wddx
WDDX Support enabled 
WDDX Session Serializer  enabled  


xml
XML Support  active  
XML Namespace Support  active  
EXPAT Version  expat_1.95.5  


yp
YP Support  enabled  


zip
Zip support  enabled  


zlib
ZLib Support  enabled  
Compiled Version  1.1.4  
Linked Version  1.1.4  

Directive Local Value Master Value 
zlib.output_compression Off Off 
zlib.output_compression_level -1 -1 
zlib.output_handler no value no value 


Additional Modules
Module Name 
sysvsem 
sysvshm 


Environment
Variable Value 
MONIT_DATE  Sat, 13 Mar 2010 10:36:20 -0500  
MONIT_HOST  crownjewels.com  
PATH  /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin  
PWD  /etc/rc.d/init.d  
LANG  C  
MONIT_PROCESS_PID  0  
MONIT_EVENT  Started  
MONIT_PROCESS_MEMORY  0  
SHLVL  1  
MONIT_PROCESS_CPU_PERCENT  0  
MONIT_SERVICE  apache  
MONIT_PROCESS_CHILDREN  0  
_  /sbin/initlog  


PHP Variables
Variable Value 
PHP_SELF  /info.php  
_REQUEST["Y2User-23340"] admin 
_REQUEST["Y2Pass-23340"] 9NZNyXVjO4yWVQTp6Ra8Aw 
_REQUEST["Y2Sess-23340"] 8WTVnqNyRkzqM RAFuIW7g 
_REQUEST["__utma"] 248745858.1924392032.1270744430.1272402988.1272540152.10 
_REQUEST["__utmz"] 248745858.1270744430.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) 
_COOKIE["Y2User-23340"] admin 
_COOKIE["Y2Pass-23340"] 9NZNyXVjO4yWVQTp6Ra8Aw 
_COOKIE["Y2Sess-23340"] 8WTVnqNyRkzqM RAFuIW7g 
_COOKIE["__utma"] 248745858.1924392032.1270744430.1272402988.1272540152.10 
_COOKIE["__utmz"] 248745858.1270744430.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) 
_SERVER["UNIQUE_ID"] 3nUlVQgHFScAAAwfeKIAAAAB 
_SERVER["SCRIPT_URL"] /info.php 
_SERVER["SCRIPT_URI"] http://www.tailwheelsetc.com/info.php 
_SERVER["HTTP_ACCEPT"] image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/msword, */* 
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-US 
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.4; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; Tablet PC 2.0) 
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate 
_SERVER["HTTP_HOST"] www.tailwheelsetc.com 
_SERVER["HTTP_CONNECTION"] Keep-Alive 
_SERVER["HTTP_COOKIE"] Y2User-23340=admin; Y2Pass-23340=9NZNyXVjO4yWVQTp6Ra8Aw; Y2Sess-23340=8WTVnqNyRkzqM+RAFuIW7g; __utma=248745858.1924392032.1270744430.1272402988.1272540152.10; __utmz=248745858.1270744430.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) 
_SERVER["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin 
_SERVER["SERVER_SIGNATURE"] <address>Apache/2.0.46 (CentOS) Server at www.tailwheelsetc.com Port 80</address>  
_SERVER["SERVER_SOFTWARE"] Apache/2.0.46 (CentOS) 
_SERVER["SERVER_NAME"] www.tailwheelsetc.com 
_SERVER["SERVER_ADDR"] 8.7.21.49 
_SERVER["SERVER_PORT"] 80 
_SERVER["REMOTE_ADDR"] 72.71.101.83 
_SERVER["DOCUMENT_ROOT"] /var/www/vhosts/tailwheelsetc.com/httpdocs 
_SERVER["SERVER_ADMIN"] jamundsen@tampabay.rr.com 
_SERVER["SCRIPT_FILENAME"] /var/www/vhosts/tailwheelsetc.com/httpdocs/info.php 
_SERVER["REMOTE_PORT"] 51609 
_SERVER["GATEWAY_INTERFACE"] CGI/1.1 
_SERVER["SERVER_PROTOCOL"] HTTP/1.1 
_SERVER["REQUEST_METHOD"] GET 
_SERVER["QUERY_STRING"] no value 
_SERVER["REQUEST_URI"] /info.php 
_SERVER["SCRIPT_NAME"] /info.php 
_SERVER["PHP_SELF"] /info.php 
_SERVER["PATH_TRANSLATED"] /var/www/vhosts/tailwheelsetc.com/httpdocs/info.php 
_SERVER["argv"] Array
(
)
 
_SERVER["argc"] 0 
_ENV["MONIT_DATE"] Sat, 13 Mar 2010 10:36:20 -0500 
_ENV["MONIT_HOST"] crownjewels.com 
_ENV["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin 
_ENV["PWD"] /etc/rc.d/init.d 
_ENV["LANG"] C 
_ENV["MONIT_PROCESS_PID"] 0 
_ENV["MONIT_EVENT"] Started 
_ENV["MONIT_PROCESS_MEMORY"] 0 
_ENV["SHLVL"] 1 
_ENV["MONIT_PROCESS_CPU_PERCENT"] 0 
_ENV["MONIT_SERVICE"] apache 
_ENV["MONIT_PROCESS_CHILDREN"] 0 
_ENV["_"] /sbin/initlog

17 May 20, 2010 17:38

From checking the info on your server, you're running php version 4.3.2 ( shows it at the top of your "phpinfo" page ;) )

My normal advice would be : try grabbing a fresh copy of the zip, preferably from a different mirror (@link [url=http://sourceforge.net/settings/mirror_choices?projectname=evocms&filename=b2evolution/b2evo%202.4.7-stable/b2evolution-2.4.7-stable-2009-05-27.zip]2.4.7 mirrors[/url]) and re-uploading all of the files.

Chances are you have a corrupted file as non-logged in users get a similar error but on a different line ;)

¥

18 May 26, 2010 00:13

I will try that again. I've done it once. Thank you for the advice. It may be this download. As it gives me the same error for both sites I am building blogs for.

19 May 26, 2010 00:40

Okay, tried that, and it still doesn't work. I am getting the same error.
I think I will have to try a different blog program.
Thank you for all of your help.

20 May 26, 2010 19:45

Good luck and I hope you get something working.

¥


Form is loading...