Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support
Sign in to follow this  
cyber

Hilfe die Umfrage geht nicht.

Recommended Posts

Hallo,

habe ein Problem, wenn ich eine Umfrage erstelle und möchte abstimmen, bekome ich diesen Fehler:

Parse error: parse error in /is/htdocs/58433/www.ich.de/sources/lib/add_poll.php on line 58
Ich habe versucht die Datei add_poll.php neue hochzuladen, trotzdem tritt immer der gleiche Fehler auf. Meine add_poll.php sieht so aus
<?php


/*

+--------------------------------------------------------------------------

|   Invision Power Board v1.3 Final

|   ========================================

|   by Matthew Mecham

|   (c) 2001 - 2003 [url="https://www.invisionpower.com/clients/index.php?app=nexus&module=promotion&section=referral&id=5636&direct=aHR0cDovL3d3dy5pbnZpc2lvbnBvd2VyLmNvbS8%3D"]Invision Power Services[/url]

|   http://www.invisionpower.com

|   ========================================

|   Web: http://www.invisionboard.com

|   Time: Sun, 30 Nov 2003 19:45:28 GMT

|   Release: ab6cbbe36f58d681596e8f85bc11cac9

|   Email: matt@invisionpower.com

|   Licence Info: http://www.invisionboard.com/?license

+---------------------------------------------------------------------------

|

|   > Add POLL module

|   > Module written by Matt Mecham

|

+--------------------------------------------------------------------------

|

|   QUOTE OF THE MODULE: (Taken from BtVS)

|   --------------------

|	Drusilla: I'm naming all the stars...

|   Spike: You can't see the stars love, That's the ceiling. Also, it's day.

|

+-------------------------------------------------------------------------- 

*/



$idx = new Poll;


class Poll {



	var $topic = array();

	var $poll  = array();

	var $upload = array();

	var $poll_count = 0;

	var $poll_choices = "";


	function Poll() {


  global $ibforums, $std, $DB, $print;

  

  $ibforums->lang      = $std->load_words($ibforums->lang, 'lang_post', $ibforums->lang_id);

  

  // Lets do some tests to make sure that we are allowed to start a new topic

  

  if (! $ibforums->member['g_vote_polls'])

  {

  	$std->Error( array( LEVEL => 1, MSG => 'no_reply_polls') );

  }

  

  // Did we choose a choice?

  

  if (!$ibforums->inp

Edited by cyber

Share this post


Link to post

Das ist deine ganze add_poll.php? :blink:

Da fehlt aber einiges ;) Oder sollte das nur ein Teil davon sein? Wenn ja, dann poste nochmal Zeile 58 (+/- 5 Zeilen) und mache die Zeile 58 erkenntlich, dann kann man evtl sehen wodran es liegt.

Aber hast du Irgendwas gemacht, bevor der Fehler kam? Mods eingebaut etc. PP?

Share this post


Link to post

Hi Rigo,

Ja das ist meine ganze add_poll.php

Aber hast du Irgendwas gemacht, bevor der Fehler kam? Mods eingebaut etc. PP?

Wenn sich das auf letze Tage bezieht "NEIN" ich habe schon seit langem nichts eingebaut.

Das Problem besteht nur dann, wenn ich auf Abstimmen drücke, dann kommt dieser Fehler wie ich in oben beschrieben habe!

Edited by cyber

Share this post


Link to post

Ich hatte in meinem Ordner nur diese datei gehabt, jetzt habe ich eine andere genohmen und es hatt geklappt!

Funzt alles danke.

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  

×