News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

about some error messages

Started by baladeva, March 28, 2007, 05:50:36 AM

Previous topic - Next topic

baladeva

hello,
i have a hint from a support member of this forum, that my error message cut come from the bridge,
so my problem is this:

always my forum error messages table, is fool of messages like this in different varieties:

8: Trying to get property of non-object
Datei: /is/htdocs/wp1031741_XBDFIOCQIC/www/home/components/com_smf/smf.php
Zeile: 218
?option=com_smf&Itemid=122&action=printpage&topic=296.0

the all link to posts, which are removed from the forum, but still in the forum for saving removed posts - understand ?

i like to know, if it is normal to have this error messages

Orstio

What is on line 218 of that file?

baladeva

hello Orstio:

its this:

if ($_VERSION->PRODUCT != 'Joomla!' || ($_VERSION->PRODUCT == 'Joomla!' && $_VERSION->DEV_LEVEL <= '9'))       

Orstio

In your includes folder should be a file named version.php.

What are the values of $DEV_LEVEL and $PRODUCT in that file?

baladeva


var $PRODUCT    = 'Joomla!';
   
var $DEV_LEVEL    = '12';


so i will change the §DEV_LEVEL from 9 to 12, and we will see - if that fix the problem,

i am right ?
   

Orstio

In your smf.php file, in the integrate_login function, is the variable    $_VERSION in the list of globals?

baladeva

yes:

function integrate_login($username, $passwd, $cookielength)
{
   global $mosConfig_db, $mosConfig_dbprefix, $user_settings, $db_name, $_VERSION;
   global $scripturl, $cb_reg, $mosConfig_absolute_path, $mosConfig_live_site, $database;

Orstio

Very strange.  $_VERSION should definitely be an object as defined in version.php.  ???

baladeva

this sounds not very hopeful, however - there is another error more important than this.

the activation link, for new users are still not correct, i just had a try on this case;

when gating the activation_mail, using the link - does bring one to a message: activation key are not correct, like this


and other links, for admin - also display not correct, the mix up with the normal mail text:

http://www.harekrischna.de/home/component/option,com_smf/Itemid,123/action,profile/u,184__Bevor

http://www.harekrischna.de/home/component/option,com_smf/Itemid,123/action,viewmembers/sa,browse/type,approve__Lieben


error messages:

2: Invalid argument supplied for foreach()
Datei: /is/htdocs/wp1031741_XBDFIOCQIC/www/forum/Themes/default/ManageMembers.template.php (admin_browse sub template - eval?)
Zeile: 405

and:

8: Undefined index: allowed_actions
Datei: /is/htdocs/wp1031741_XBDFIOCQIC/www/forum/Themes/default/ManageMembers.template.php (admin_browse sub template - eval?)
Zeile: 405


we have this on line 405:

foreach ($context['allowed_actions'] as $key => $desc) 
   

Orstio

When you upgraded to SMF 1.1.2, did you run upgrade.php?

baladeva

ups, i do not remember exactly, how i did the upgrade that time,
i  think i have do that in the admin panel, clicking on upgrading some where, and smf has don the upgrade - by saving mysql tables - and all this stuff


baladeva

oh yes - that one is fixing the email_link problem's
very nice - thanks a lot - !!!

Advertisement: