Featured artists and Top members issue

Annush
Annush
@annush
11 years ago
230 posts
Hi,
I have a strange problem. After I put id's on the features section, artists are dissapear from the featured tab, Top member tab and Artists page. Integrity check and Cleaning cash doesn't help. I use clon of Nova skin.
Where do I have to go to solve that problem? Thank you

That what in the activity log - I guess it about my problem:

Array ( [0] => jrProfile [1] => Array ( [jrcore_list_function_call_is_active] => 1 [order_by] => Array ( [_profile_id] => asc ) [limit] => 4 [search] => Array ( [0] => _profile_id in 9,12,32,23 [1] => profile_active = 1 [2] => profile_quota_id = ) [template] => index_artists_row.tpl [module] => jrProfile )
updated by @annush: 01/11/14 05:30:56AM
michael
@michael
11 years ago
7,715 posts
which skin are you using?
Annush
Annush
@annush
11 years ago
230 posts
I use clon of Nova skin.
michael
@michael
11 years ago
7,715 posts
by "on the featured section" do you mean the "Image Slider IDs" in the skin settings?
Annush
Annush
@annush
11 years ago
230 posts
I mean Skin Global settings - Featured Artist ID's

I got it back now, but if i put any numbers Featured Artists, Top artists and all the artists on Artist page dessapearing
updated by @annush: 12/11/13 02:06:17AM
douglas
@douglas
11 years ago
2,790 posts
Annush:
I mean Skin Global settings - Featured Artist ID's

I got it back now, but if i put any numbers Featured Artists, Top artists and all the artists on Artist page dessapearing

I'm not seeing an issue on my dev site.

Do you get anything in your debug or php error logs when you set those fields?


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Annush
Annush
@annush
11 years ago
230 posts
On php error logs I see that it still sent to JR5 foulder when I allready moved to the main directory and made a changes in data-config-config.php:


[12-Aug-2013 15:22:48 Europe/Dublin] PHP Fatal error: Cannot redeclare jrNova_skin_config() (previously declared in /home/xxx/public_html/JR5/skins/xxx/config.php:48) in /home/xxx/public_html/JR5/skins/jrNova/config.php on line 308 [x 2]

[02-Sep-2013 10:58:06 Europe/Dublin] PHP Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/home/xxx/public_html/JR5/skins/jrNova.zip/include.php) is not within the allowed path(s): (/home/xxx:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/xxx/public_html/JR5/modules/jrCore/lib/skin.php on line 187 [x 265]

[02-Sep-2013 11:50:33 Europe/Dublin] PHP Warning: file_get_contents(jrCore.css) [function.file-get-contents]: failed to open stream: No such file or directory in /home/xxx/public_html/JR5/modules/jrCore/index.php on line 4604 [x 149]
brian
@brian
11 years ago
10,148 posts
Make sure you empty the 2 directories inside your data/cache directory - i.e.

data/cache/jrCore
data/cache/(Active_Skin)

Both the jrCore and your active skin directory contain templates that could still have the old path in them - delete all the files inside those directories and that should work.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Annush
Annush
@annush
11 years ago
230 posts
Thank you for answer, Ideleted all the files from those 3 directories, now I do not lose top artists and members page, but if i put id numbers in Featured Artist ID's, I get blank tab. In activity log I get invalid search criteria in jrCore_db_search_items parameters:
URL /index_artists
Memory 18.8MB
Data
Array ( [0] => jrProfile
[1] => Array
(
[jrcore_list_function_call_is_active] => 1
[order_by] => Array
(
[_profile_id] => asc
)
[limit] => 4
[search] => Array
(
[0] => _profile_id in 5,32,33
[1] => profile_active = 1
[2] => profile_quota_id =
)
[template] => index_artists_row.tpl
[module] => jrProfile
)
)
douglas
@douglas
11 years ago
2,790 posts
Can you show us what you have in the index_artists_row.tpl


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
douglas
@douglas
11 years ago
2,790 posts
I can tell by the error log that you are not using the latest Nova templates, or at least not the latest index_artists.tpl, which should have this code in it.

{if isset($_conf.jrNova_featured_artist_ids) && strlen($_conf.jrNova_featured_artist_ids) > 0}
    {jrCore_list module="jrProfile" order_by="_profile_id asc" quota_id=$_conf.jrNova_artist_quota limit="4" search1="_profile_id in `$_conf.jrNova_featured_artist_ids`" search2="profile_active = 1" template="index_artists_row.tpl"}
{elseif isset($_conf.jrNova_require_images) && $_conf.jrNova_require_images == 'on'}
    {jrCore_list module="jrProfile" order_by="_profile_id random" limit="4" quota_id=$_conf.jrNova_artist_quota search1="profile_active = 1" template="index_artists_row.tpl" require_image="profile_image"}
{else}
    {jrCore_list module="jrProfile" order_by="_profile_id random" limit="4" quota_id=$_conf.jrNova_artist_quota search1="profile_active = 1" template="index_artists_row.tpl"}
{/if}

Hope this helps,
Douglas


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Annush
Annush
@annush
11 years ago
230 posts
This is my index_artists_row.tpl:
{if isset($_items)}


{foreach from=$_items item="row"}


{jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_image" item_id=$row._profile_id size="medium" crop="auto" alt=$row.profile_name title=$row.profile_name class="iloutline img_shadow"}
{$row.profile_name}


{/foreach}


{/if}
Annush
Annush
@annush
11 years ago
230 posts
no, I am using clon of the first Nova, that why I asked yesterday about updating of the custon skin
Annush
Annush
@annush
11 years ago
230 posts
Thank you. Douglas, I replaced my index_artists.tpl with that you post here and now everything is working fine.
Thank you for help
douglas
@douglas
11 years ago
2,790 posts
Glad to hear it. And you are welcome! ;)


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos

Tags