• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

Pages config error

Status
Not open for further replies.

nasiporky

Chevereto Member
Warning: Invalid argument supplied for foreach() in /home/rage/imageixxxy.com/includes/template.functions.php on line 413

this is the thing on line 413 : foreach($pages_config as $key => $value) {

hmm probably where the error is coming here footer links?
 
nasiporky said:
Warning: Invalid argument supplied for foreach() in /home/rage/imageixxxy.com/includes/template.functions.php on line 413

this is the thing on line 413 : foreach($pages_config as $key => $value) {

hmm probably where the error is coming here footer links?

Well.. make sure $pages_config is an array...
 
$pages_config = array (
'about' => array(
'live' => true,
'title' => 'About Us',
'footer'=>false
),
'tos' => array(
'live' => true,
'title' => 'Terms of Service',
'footer'=>false
),
'contact' => array(
'live' => true,
'title' => 'Contact',
'footer'=>false
),
'http://www.thakimhost.com' => array(
'live' => true,
'external'=>true,
'title' => 'Cheap Reliable Hosting',
'target'=>'_blank',
'footer'=>true
),
'http://www.thakims.info' => array(
'live' => true,
'external'=>true,
'title' => 'Free Links Directory',
'target'=>'_blank',
'footer'=>true
),
'http://www.emoneyspace.com/forum/index.php/topic,147326.0.html' => array(
'live' => true,
'external'=>true,
'title' => 'RageGFX Designs',
'target'=>'_blank',
'footer'=>true
),
'http://www.chaved.com' => array(
'live' => true,
'external'=>true,
'title' => 'Chaved Social Network',
'target'=>'_blank',
'footer'=>true
),
'http://www.free-image-hosting.info' => array(
'live' => true,
'external'=>true,
'title' => 'Free Image Hosting',
'target'=>'_blank',
'footer'=>true
),
'http://teens4you.blogspot.com' => array(
'live' => true,
'external'=>true,
'title' => 'Teens4you',
'target'=>'_blank',
'footer'=>true
),
'http://www.addme.com/submission/free-submission-start.php' => array(
'live' => true,
'external'=>true,
'title' => 'Search Engine Submission - AddMe',
'target'=>'_blank',
'footer'=>true
),
'http://blog.jav4you.com' => array(
'live' => true,
'external'=>true,
'title' => 'Free JAV Downloads',
'target'=>'_blank',
'footer'=>true
),
);

here bro I let someone code this so i dunno how to fix
 
I have took your array and paste it on the demo's pages config and it works.
It seems that you make/use a custom mod or you are using outdated files. Try to upload the whole 2.0.7 files.
 
yah I have not yet implemented 2.0.7 I'm afraid other functions wont work like the multi remote cause I dunno if it will be affected
 
=/ I don't think thay they broke. 2.0.7 fix just small issues, nothing several.
 
Status
Not open for further replies.
Back
Top