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 - greven-il-vec

Pages: [1] 2
1
hat vielleicht noch irgendwer anderes ne idee, was ich ändern muss?

has perhaps someone other a idea, what i have to change?

2
ok, but another question, do you think the action attribute of the comment_form is right with index.php?content=4&sub=6 , what is the link i use at my hp for the details.php, or need i an other attribute? and 'self' isn't possible because then it links to the main site of my hp...

3
i don't know if i understand you right but i think you mean this or? www.silverbird-consulting.de

4
hmm, i've done that but th problem, that comment is not saved is still available... any other idea what could be wrong?

5
no, the only error is:
Notice: A session had already been started - ignoring session_start() in /var/www/web230/html/4images/includes/sessions.php on line 84
but i don't think thats the cause of the problem, because it's shown everywhere and not only in the details...

6
now i've replaced the details.php, and there is no more the error message but it also don't save the comment... could it be that the error is in the action attribute of the comment_form?
the action is the link to the details.php (index.php?content=4&sub=6)

7
that also doesn't work, i also tried SCRIPT_URL.'/' but what's the problem if i define the root with /4images/? i think the problem is rather at the action of form or in code from details.php, where the comment should be insert into the mysql...

8
that doesn't change anything... :(

9
no, now it's showing this:
Warning: main(SCRIPT_URLglobal.php): failed to open stream: No such file or directory in /var/www/web230/html/4images/details.php on line 29
have i only to write SCRIPT_URL without any ' or "?

10
then he can't find or open it:
Warning: main(): Unable to access ./global.php in /var/www/web230/html/4images/details.php on line 29
and so on...because of that i'va changed the root to ./4images/

11
i think the block is right, the root_path looks a little bit differnet but else i think it's the same:

define('GET_CACHES', 1);
define('ROOT_PATH', './4images/');
include(ROOT_PATH.'global.php');
require(ROOT_PATH.'includes/sessions.php');
$user_access = get_permission();
include(ROOT_PATH.'includes/page_header.php');

and the gallery is not really integrated into something instead of my page like i've written above, and i could be thats the cause of the error, but i thought i've everything changed what i've have to change...
the only thing i'm not sure is the action of the comment_form, it's index.php?content=4&sub=6 what's normaly the link to the details.php...

12
this is the link to my gallery: http://www.greven-9er.de/index.php?content=4&sub=3 and what do you mean with php info?

and this is the code around line 242 in the details.php:
//-----------------------------------------------------
//--- Save Comment ------------------------------------
//-----------------------------------------------------
$error = 0;
if ($action == "postcomment" && isset($HTTP_POST_VARS[URL_ID])) {
  $id = intval($HTTP_POST_VARS[URL_ID]);
  $sql = "SELECT cat_id, image_allow_comments
          FROM ".IMAGES_TABLE."
          WHERE image_id = $id";
  $row = $site_db->query_firstrow($sql);

  if ($row['image_allow_comments'] == 0 || !check_permission("auth_postcomment", $row['cat_id']) || !$row) {
    $msg = $lang['comments_deactivated'];
  }

13
my comment_bit has a code... what i can it also be? does anyone have a idea? what means the error which is written above?

was kann es sonst noch sein? also was bedeutet der oben genannte fehler?

14
what do you mean with, that the comment_form.html is empty? i think if it's empty, than there isn't a commentform, or?

15
also jetzt wird mir folgender fehler angezeigt:
Notice: A session had already been started - ignoring session_start() in /var/www/web230/html/4images/includes/sessions.php on line 84

Notice: Undefined index: action in /var/www/web230/html/details.php on line 242

was heißt das jetzt? was muss ich da ändern?


now it's showing this error:

Notice: A session had already been started - ignoring session_start() in /var/www/web230/html/4images/includes/sessions.php on line 84

Notice: Undefined index: action in /var/www/web230/html/details.php on line 242

what have i to do now?

Pages: [1] 2