Jump to content
Дизайн и модификация Invision Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
nabaal

В профайле нажать галерея вылетает ошибка

Recommended Posts

Fatal error: Call to undefined method skin_gallery_global_5::profileWrapper() in /hsphere/local/home/dieselkg/diesel.kg/admin/applications/members/sources/tabs/gallery.php on line 100

 

кто нить сталкивался

Share this post


Link to post
кто нить сталкивался

Нет

Какой стоит скин. Номер версии форума и галереи

Share this post


Link to post

Скин Light Skin for IPB 3.0 форум 3.0.4 Галера 3.0.2

Share this post


Link to post
Скин Light Skin for IPB 3.0 форум 3.0.4 Галера 3.0.2

Скин поставили после галереи?

 

Обновить кеш-файлы, пробовали?

 

А то строчка --

$output = $this->registry->getClass('output')->getTemplate('gallery_global')->profileWrapper( $member, $output );

 

Достаточно безобидная.

Share this post


Link to post

До галеры скин поставил ! все пробывал перепробывал :)

Share this post


Link to post
До галеры скин поставил ! все пробывал перепробывал :)

Скин переставляли?

 

С другими скинами нормально?

Share this post


Link to post

ща попробую с другими !

 

во всех скинах так ! чо за !7

Share this post


Link to post

Тогда проверьте права доступа на категории. Где-то не хватает прав, для записи.

И еще раз перестройте кэш.

 

Какие права на чтение запись -- /cache/ и /cache/skin_cache/ Лучше поставить 777.

Share this post


Link to post

стоит :) по другому никак !

Share this post


Link to post

Ошибка понятна. Нехватка прав на запись.

 

В кэше есть файл skin_gallery_global.php

На каждый кэш, свой.

 

В файле есть функция profileWrapper

 

/* -- profileWrapper --*/
function profileWrapper($member,$data='') {
$IPBHTML = "";
$IPBHTML .= "" . $this->registry->getClass('output')->getTemplate('gallery_global')->galleryCss() . "
<div class='general_box'>
<h3><img src='{$this->settings['img_url']}/picture.png' alt='{$this->lang->words['icon']}' /> <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=core&module=search&do=user_posts&mid={$member['member_id']}&search_filter_app[gallery]=1", "public",'' ), "", "" ) . "'>{$this->lang->words['view_all_images']}</a></h3>
<div>
	{$data}
</div>
</div>";
return $IPBHTML;
}

 

Я ее удаляю руками.

И получаю -- Fatal error: Call to undefined method skin_gallery_global_9::profileWrapper() in /home/www/ipb......./admin/applications/members/sources/tabs/gallery.php on line 100

 

Перестраиваю кэш и все работает. Прав на запись хватает

Share this post


Link to post

На все файлы чмод 777 стоит, но удивительно в указном ошибкой файле skin_gallery_global.php я не нашёл этой самой функции ! куда мне её попробовать вставить ?

Share this post


Link to post
На все файлы чмод 777 стоит,

И на файл?

 

но удивительно в указном ошибкой файле skin_gallery_global.php я не нашёл этой самой функции ! куда мне её попробовать вставить ?

Это будет костыль .... Где-то аукнется.

 

Поставить можно в любое место, это вызываемые функции. Точный порядок не важен.

У меня --

/* -- profileWrapper --*/

86 строка.

 

Идут так

 

/* -- link_macro --*/

/* -- profileWrapper --*/

/* -- show_rules_full --*/

/* -- show_rules_link --*/

 

И по возможности обновится на 3.04 В 3.02 были неприятные глюки.

Share this post


Link to post

Русского нет чтоб обновляться ! чмоды да на все стоит 777

Share this post


Link to post
Русского нет чтоб обновляться !

А 3.0.2 была русская?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...