Jump to content

Problems with ADMIN sidebars


Wondair Virtual

Recommended Posts

I have problems with the ADMIN sidebar, for example with module NEWS appears sidebar_news.tpl and the HELP and tasks doesn't appear and I can't add news, it happens in every module, I take a photo (DOWN). Things that I modified, in core/classes/TemplateSet.class.php, because I had an error in registration (file_exists), I edit public function set($name, $vars), that it was like this(lines 90-103 default file):

public function set($name, $value)
{

	if(is_string($value) && strstr($value, $this->tpl_ext))
	{
		if(file_exists($this->template_path . DS . $value))
		{
			$value = $this->GetTemplate($value, true);
		}
	}
	$this->vars[$name] = $value;
}

And now it's like this:

public function set($name, $value)
{
	$this->vars[$name] = $value;
}

I think it may not afect this.

The photo:

phpvms.jpg

Regards,

Pablo Garcia

post-678-031009800 1291752222_thumb.jpg

Link to comment
Share on other sites

  • Administrators

Is this a new install, or is it a sudden issue with an existing install? You really should not have to modify the admin files for the basic functionality to work, that part of the system has been stable for quite some time. Have you tried running the scripts to check the file tree and the database?

To see if there are any errors in the actual files or the database try running:

www.mysite.com/install/checkinstall.php

and

www.mysite.com/install/checkdb.php

If you have deleted your install folder you will have to put a copy back in place.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...