Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - fgabriel

Pages: [1] 2 3
1
Hi,

I got the same error as fgabriel does when I call "New images" link   (http://www.xx.com/search.php?search_new_images=1).

Code: [Select]
Notice: Undefined variable: rate_suffix in /mnt/107/sdc/a/1/x/includes/functions.php on line 446
Notice: Undefined variable: rating in /mnt/107/sdc/a/1/x/includes/functions.php on line 446
Notice: Undefined variable: rate_suffix in /mnt/107/sdc/a/1/x/includes/functions.php on line 446
Notice: Undefined variable: rating in /mnt/107/sdc/a/1/x/includes/functions.php on line 446
Notice: Undefined variable: rate_suffix in /mnt/107/sdc/a/1/x/includes/functions.php on line 446
Notice: Undefined variable: rating in /mnt/107/sdc/a/1/x/includes/functions.php on line 446
Notice: Undefined variable: rate_suffix in /mnt/107/sdc/a/1/x/includes/functions.php on line 446
Notice: Undefined variable: rating in /mnt/107/sdc/a/1/x/includes/functions.php on line 446
Notice: Undefined variable: rate_suffix in /mnt/107/sdc/a/1/x/includes/functions.php on line 446
Notice: Undefined variable: rating in /mnt/107/sdc/a/1/x/includes/functions.php on line 446
Notice: Undefined variable: rate_suffix in /mnt/107/sdc/a/1/x/includes/functions.php on line 446
Notice: Undefined variable: rating in /mnt/107/sdc/a/1/x/includes/functions.php on line 446
Notice: Undefined variable: rate_suffix in /mnt/107/sdc/a/1/x/includes/functions.php on line 446
Notice: Undefined variable: rating in /mnt/107/sdc/a/1/x/includes/functions.php on line 446

This "functions.php" line 445/446 :

 
Code: [Select]
if (check_permission("auth_vote", $image_row['cat_id'])) {
    $rate_form = rate_form($image_row['image_id'], $rate_suffix, $rating);

Anybody helps please? thanks


im not alone,
i think nobody wants to help orb42  :(

2
go back to the default, restore all backups and then do one at a time and check to see if it happens again.

i was doing that but something escape me :(

3
Sorry I can't help as I could not find where any of those mods would affect that.

Hopefully someone that knows these mods better would know something.

thanks anyway ceJay
oh well im still trying to find where is the problem... on database on code
i dont install anymore mods :( never again

4
Did you double check your settings in ACP to allow uploads from registered users or whatever setting you want?


i even switch the member.php file to the original one of 1.7.4, doenst work  to :cry:

5
Did you double check your settings in ACP to allow uploads from registered users or whatever setting you want?


yes categories are configured one by one on ACP to REGISTER USERS upload her images
but only ADMIN can do it
:/

6
helppppppppppppp
:)
i install some mods and now only ADMIN users can upload images  :roll: :evil:
anyone have a clue what is happen?
i install this mods

V@no - [Mod] Rating Button Disabled After Vote - http://www.4homepages.de/forum/index.php?topic=5853
Vladec - [MOD] Show user images in profile - http://www.4homepages.de/forum/index.php?topic=15390.0
V@no - Req: Total User Votes (from images) in profile - http://www.4homepages.de/forum/index.php?topic=11242.0
V@no - [Mod] Show user's lightbox to admin. - http://www.4homepages.de/forum/index.php?topic=4107.0


helppppppp please  :?

7
  $rate_form = "";
  $image_row = "";
  $rating = "";
  $rate_suffix = "";

  if (check_permission("auth_vote", $image_row['cat_id'])) {  -------------------------------------------this is 466
    $rate_form = rate_form($image_row['image_id'], $rate_suffix, $rating);
  }
  $site_template->register_vars("rate_form", $rate_form);

  return true;
}

i insert this variables but a error stills:

Notice: Uninitialized string offset: 0 in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 466



V@no
i installed the mod now when i access for search.php this give me many errors on functions.php
?
do you know wath is this, page_header?


Notice: Undefined variable: rate_suffix in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: rating in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined offset: 1 in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 492

Notice: Undefined variable: image_row in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 509

Notice: Undefined variable: rate_suffix in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: rating in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: image_row in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 509


8
V@no
i installed the mod now when i access for search.php this give me many errors on functions.php
?
do you know wath is this, page_header?


Notice: Undefined variable: rate_suffix in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: rating in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined offset: 1 in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 492

Notice: Undefined variable: image_row in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 509

Notice: Undefined variable: rate_suffix in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: rating in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: image_row in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 509



when i go to:
search.php?search_new_images=1

errors:

Notice: Undefined variable: rate_suffix in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: rating in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined offset: 1 in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 492

Notice: Undefined variable: image_row in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 509

Notice: Undefined variable: rate_suffix in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: rating in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: rate_suffix in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: rating in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: image_row in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 509

Notice: Undefined variable: rate_suffix in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: rating in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: image_row in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 509

Notice: Undefined variable: rate_suffix in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: rating in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464


functions.php 451-516

  if (!empty($additional_image_fields)) {
    $additional_field_array = array();
    foreach ($additional_image_fields as $key => $val) {
      $additional_field_array[$key] = (!empty($image_row[$key])) ? format_text($image_row[$key], 1) : REPLACE_EMPTY;
      $additional_field_array['lang_'.$key] = $val[0];
    }
    if (!empty($additional_field_array)) {
      $site_template->register_vars($additional_field_array);
    }
  }

  $rate_form = "";
  if (check_permission("auth_vote", $image_row['cat_id'])) {
    $rate_form = rate_form($image_row['image_id'], $rate_suffix, $rating);
  }
  $site_template->register_vars("rate_form", $rate_form);

  return true;
}

function rate_form($id, $rate_suffix = "", $rating = ""){
 global $site_template, $session_info, $lang, $site_sess, $HTTP_COOKIE_VARS, $rate_suffix;

  //----- Settings ------------

  //change to $rate_show = 0; if u dont want to show what was your vote for an image
  $rate_show = 1;

  //--- End Settings ----------

  $cookie_name = (defined("COOKIE_NAME")) ? COOKIE_NAME : "4images_";
  $cookie_rated_array = isset($HTTP_COOKIE_VARS[$cookie_name.'rated'.$rate_suffix]) ? unserialize(stripslashes($HTTP_COOKIE_VARS[$cookie_name.'rated'.$rate_suffix])) : array();
  $split_list_array = array();
  if (!empty($session_info['rated_imgs'.$rate_suffix])) {
    $split_list_array = explode(" ", $session_info['rated_imgs'.$rate_suffix]);
  }
  $cookie_rated = array();
  foreach ($cookie_rated_array as $key) {
    $split = explode(",", $key);
    $cookie_rated[] = $split[0];
    if ($id == $split[0]) {
      $rating = $split[1];
    }
  }
  $split_list = array();
  foreach ($split_list_array as $key) {
    $split = explode(",", $key);
    $split_list[] = $split[0];
    if ($id == $split[0]) {
      $rating = $split[1];
    }
  }
  $no_rateform = (in_array($id, $split_list) || in_array($id, $cookie_rated)) ? "disabled" : 0;
  $rate_options = "<option value=\"\">--</option>\n";
  for ($i = MAX_RATING; $i; $i--){
    $rate_options .= "<option value=\"".$i."\"".(($i == $rating && $rate_show) ? "selected" : "").">".$i."</option>\n";
  }
  $site_template->register_vars(array(
          "rate" => ($no_rateform && !(check_permission("auth_vote", $image_row['cat_id']) && $no_rateform)) ?  "rated" : $lang['rate'],
          "rate_options" => $rate_options,
          "rate_button" => ($no_rateform) ? $no_rateform : ""

    ));
  $rate_form = $site_template->parse_template("rate_form");
  return $rate_form;
}





9
V@no
i installed the mod now when i access for search.php this give me many errors on functions.php
?
do you know wath is this, page_header?


Notice: Undefined variable: rate_suffix in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: rating in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined offset: 1 in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 492

Notice: Undefined variable: image_row in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 509

Notice: Undefined variable: rate_suffix in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: rating in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 464

Notice: Undefined variable: image_row in /home/nfnorte/public_html/galerianfn/includes/functions.php on line 509

10
i want not to show in new images, some categories
example: i upload a image to a categorie and i want not to see that image thumbnail in new images - index.php
anyone?
i look in the forum i dont found anything
thanks
regards
Fernando

11
anyone? :( buaaaaa im confuse
i cant add user or modify settings for users, i made a mistake somewere  :(

error from admin panel:

DB Error: Bad SQL Query: INSERT INTO 4images_users (user_id, user_level, user_name, user_password, user_email, user_showemail, user_allowemails, user_invisible, user_joindate, user_activationkey, user_lastaction, user_lastvisit, user_comments, user_homepage, user_limit, user_signature, userpic, user_description, user_msn, user_pm_inbox, user_pm_sentbox, user_pm_email, user_pm_popup) VALUES (3, 2, 'Pedro Gomes', '827ccb0eea8a706c4c34a16891f84e7b', 'volume@tvtel.pt', 1, 1, 0, 1167873988, 'd5b30348ac8ca1cef0b8c9070ce6d96a', 1167873988, 1167873988, 0, '', '', , 'pg', '', '', '', '', '', '1', '1')
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'pg', '', '', '', '', '', '1', '1')' at line 4


my sql users table:

   Field   Type   Collation   Attributes   Null   Default   Extra   Action
 
user_id   int(11)         No      auto_increment    
user_level   int(11)         No   1      
user_name   varchar(255)   latin1_swedish_ci      No         
user_password   varchar(255)   latin1_swedish_ci      No         
user_email   varchar(255)   latin1_swedish_ci      No         
user_showemail   tinyint(1)         No   0      
user_allowemails   tinyint(1)         No   1      
user_invisible   tinyint(1)         No   0      
user_joindate   int(11)       UNSIGNED   No   0      
user_activationkey   varchar(32)   latin1_swedish_ci      No         
user_lastaction   int(11)       UNSIGNED   No   0      
user_location   varchar(255)   latin1_swedish_ci      No         
user_lastvisit   int(11)       UNSIGNED   No   0      
user_comments   int(10)       UNSIGNED   No   0      
user_homepage   varchar(255)   latin1_swedish_ci      No         
user_icq   varchar(20)   latin1_swedish_ci      No         
user_t_images   smallint(6)         No   0      
userpic   varchar(255)   latin1_swedish_ci      No   noimage.jpg      
user_description   varchar(255)   latin1_swedish_ci      No         
user_msn   varchar(255)   latin1_swedish_ci      No         
user_pm_inbox   int(11)         No   0      
user_pm_sentbox   int(11)         No   0      
user_pm_email   tinyint(1)         No   1      
user_pm_popup   tinyint(1)         No   0      
user_limit   smallint(3)         No   5      
user_posts   int(8)         No   0      
user_signature   text   latin1_swedish_ci                                 




12
Mods & Plugins (Releases & Support) / Re: [MOD] guestbook
« on: December 01, 2006, 07:07:22 AM »
how to show number o entrys of the guestbook in a html page?
thanks

13
Hello;
try this: add paging to index
It adds paging to your new images display. So you will be able to navigate between new images 3 by 3.

many thanks manurom  :)
regards

14
how can i delete comments on the control panel
any chance?
i couldnt delete in user session because i dont login in my site
i use control panel to set all and upload photos
 :roll:


well the phpadmin work :!:  delete sql values

15
index.php ------>

Warning: mysql_connect(): Lost connection to MySQL server during query in /home/vhosts/fernandogabriel.nytka.org/httpdocs/includes/db_mysql.php on line 39

An unexpected error occured. Please try again later.

what is this?
anyone?

Pages: [1] 2 3