Problem z wyświetlaniem strony.
Strona 1 z 2 12 OstatniOstatni
Wyniki 1 do 10 z 12

Temat: Problem z wyświetlaniem strony.

  1. #1
    Debiutant
    Dołączył
    21-11-2016
    Wpisy
    6
    Punkty
    2

    Domyślny Problem z wyświetlaniem strony.

    Witam i proszę o pomoc. Otwierając stronę wyskakuje mi komunikat:
    Error displaying the error page: Application Instantiation Error: Failed to start the session because headers have already been sent by "/var/www/vhosts/9/106937/webspace/httpdocs/czerwionka-rod.pl/libraries/joomla/event/dispatcher.php" at line 1.

    Co jest powodem ?

  2. Pani Reklamowa
    Pani Reklamowa jest aktywna
    Avatar Panny Google

    Dołączył
    19-08-2010
    Skąd
    Internet
    Postów
    milion
    Pochwał
    setki
  3. #2
    Wyga palyga007 awatar
    Dołączył
    24-03-2010
    Skąd
    Wieluń
    Wpisy
    3 899
    Punkty
    229

    Domyślny

    1. Włamanie
    2. Grzebałeś w czymś przy pomocy notatnika?
    ---------------------------------------------------------------------------------------------
    "Nie chowaj nienawiści po wieczne czasy, ty, który sam nie jesteś wieczny."
    Przyjmę ofertę pracy w Australii...
    web-coder.pl

  4. #3
    Debiutant
    Dołączył
    21-11-2016
    Wpisy
    6
    Punkty
    2

    Domyślny

    Była robiona aktualizacja Joomala

  5. #4
    Wyga palyga007 awatar
    Dołączył
    24-03-2010
    Skąd
    Wieluń
    Wpisy
    3 899
    Punkty
    229

    Domyślny

    A pokaż początek tego pliku z Jomala o którym mówi komunikat, ew spróbuj go nadpisać z czystej instalki
    ---------------------------------------------------------------------------------------------
    "Nie chowaj nienawiści po wieczne czasy, ty, który sam nie jesteś wieczny."
    Przyjmę ofertę pracy w Australii...
    web-coder.pl

  6. #5
    Debiutant
    Dołączył
    21-11-2016
    Wpisy
    6
    Punkty
    2

    Domyślny

    Ja nie zajmowałem się stroną i czekam na dostęp do panelu klienta jak dostane odpisze i pokaże początek tego pliku. Pozdrawiam

  7. #6
    Debiutant
    Dołączył
    21-11-2016
    Wpisy
    6
    Punkty
    2

    Domyślny

    <?php
    /**
    * Part of the Joomla Framework Event Package
    *
    * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
    * @license GNU General Public License version 2 or later; see LICENSE
    */


    namespace Joomla\Event;


    use InvalidArgumentException;
    use Closure;


    /**
    * Implementation of a DispatcherInterface supporting
    * prioritized listeners.
    *
    * @since 1.0
    */
    class Dispatcher implements DispatcherInterface
    {
    /**
    * An array of registered events indexed by
    * the event names.
    *
    * @var EventInterface[]
    *
    * @since 1.0
    */
    protected $events = array();


    /**
    * A regular expression that will filter listener method names.
    *
    * @var string
    * @since 1.0
    * @deprecated
    */
    protected $listenerFilter;


    /**
    * An array of ListenersPriorityQueue indexed
    * by the event names.
    *
    * @var ListenersPriorityQueue[]
    *
    * @since 1.0
    */
    protected $listeners = array();


    /**
    * Set an event to the dispatcher.
    * It will replace any event with the same name.
    *
    * @param EventInterface $event The event.
    *
    * @return Dispatcher This method is chainable.
    *
    * @since 1.0
    */
    public function setEvent(EventInterface $event)
    {
    $this->events[$event->getName()] = $event;


    return $this;
    }


    /**
    * Sets a regular expression to filter the class methods when adding a listener.
    *
    * @param string $regex A regular expression (for example '^on' will only register methods starting with "on").
    *
    * @return Dispatcher This method is chainable.
    *
    * @since 1.0
    * @deprecated Incorporate a method in your listener object such as `getEvents` to feed into the `setListener` method.
    */
    public function setListenerFilter($regex)
    {
    $this->listenerFilter = $regex;


    return $this;
    }


    /**
    * Add an event to this dispatcher, only if it is not existing.
    *
    * @param EventInterface $event The event.
    *
    * @return Dispatcher This method is chainable.
    *
    * @since 1.0
    */
    public function addEvent(EventInterface $event)
    {
    if (!isset($this->events[$event->getName()]))
    {
    $this->events[$event->getName()] = $event;
    }


    return $this;
    }


    /**
    * Tell if the given event has been added to this dispatcher.
    *
    * @param EventInterface|string $event The event object or name.
    *
    * @return boolean True if the listener has the given event, false otherwise.
    *
    * @since 1.0
    */
    public function hasEvent($event)
    {
    if ($event instanceof EventInterface)
    {
    $event = $event->getName();
    }


    return isset($this->events[$event]);
    }


    /**
    * Get the event object identified by the given name.
    *
    * @param string $name The event name.
    * @param mixed $default The default value if the event was not registered.
    *
    * @return EventInterface|mixed The event of the default value.
    *
    * @since 1.0
    */
    public function getEvent($name, $default = null)
    {
    if (isset($this->events[$name]))
    {
    return $this->events[$name];
    }


    return $default;
    }


    /**
    * Remove an event from this dispatcher.
    * The registered listeners will remain.
    *
    * @param EventInterface|string $event The event object or name.
    *
    * @return Dispatcher This method is chainable.
    *
    * @since 1.0
    */
    public function removeEvent($event)
    {
    if ($event instanceof EventInterface)
    {
    $event = $event->getName();
    }


    if (isset($this->events[$event]))
    {
    unset($this->events[$event]);
    }


    return $this;
    }


    /**
    * Get the registered events.
    *
    * @return EventInterface[] The registered event.
    *
    * @since 1.0
    */
    public function getEvents()
    {
    return $this->events;
    }


    /**
    * Clear all events.
    *
    * @return EventInterface[] The old events.
    *
    * @since 1.0
    */
    public function clearEvents()
    {
    $events = $this->events;
    $this->events = array();


    return $events;
    }


    /**
    * Count the number of registered event.
    *
    * @return integer The numer of registered events.
    *
    * @since 1.0
    */
    public function countEvents()
    {
    return count($this->events);
    }


    /**
    * Add a listener to this dispatcher, only if not already registered to these events.
    * If no events are specified, it will be registered to all events matching it's methods name.
    * In the case of a closure, you must specify at least one event name.
    *
    * @param object|Closure $listener The listener
    * @param array $events An associative array of event names as keys
    * and the corresponding listener priority as values.
    *
    * @return Dispatcher This method is chainable.
    *
    * @throws InvalidArgumentException
    *
    * @since 1.0
    */
    public function addListener($listener, array $events = array())
    {
    if (!is_object($listener))
    {
    throw new InvalidArgumentException('The given listener is not an object.');
    }


    // We deal with a closure.
    if ($listener instanceof Closure)
    {
    if (empty($events))
    {
    throw new InvalidArgumentException('No event name(s) and priority
    specified for the Closure listener.');
    }


    foreach ($events as $name => $priority)
    {
    if (!isset($this->listeners[$name]))
    {
    $this->listeners[$name] = new ListenersPriorityQueue;
    }


    $this->listeners[$name]->add($listener, $priority);
    }


    return $this;
    }


    // We deal with a "normal" object.
    $methods = get_class_methods($listener);


    if (!empty($events))
    {
    $methods = array_intersect($methods, array_keys($events));
    }


    // @deprecated
    $regex = $this->listenerFilter ?: '.*';


    foreach ($methods as $event)
    {
    // @deprecated - this outer `if` is deprecated.
    if (preg_match("#$regex#", $event))
    {
    // Retain this inner code after removal of the outer `if`.
    if (!isset($this->listeners[$event]))
    {
    $this->listeners[$event] = new ListenersPriorityQueue;
    }


    $priority = isset($events[$event]) ? $events[$event] : Priority::NORMAL;


    $this->listeners[$event]->add($listener, $priority);
    }
    }


    return $this;
    }


    /**
    * Get the priority of the given listener for the given event.
    *
    * @param object|Closure $listener The listener.
    * @param EventInterface|string $event The event object or name.
    *
    * @return mixed The listener priority or null if the listener doesn't exist.
    *
    * @since 1.0
    */
    public function getListenerPriority($listener, $event)
    {
    if ($event instanceof EventInterface)
    {
    $event = $event->getName();
    }


    if (isset($this->listeners[$event]))
    {
    return $this->listeners[$event]->getPriority($listener);
    }


    return null;
    }


    /**
    * Get the listeners registered to the given event.
    *
    * @param EventInterface|string $event The event object or name.
    *
    * @return object[] An array of registered listeners sorted according to their priorities.
    *
    * @since 1.0
    */
    public function getListeners($event)
    {
    if ($event instanceof EventInterface)
    {
    $event = $event->getName();
    }


    if (isset($this->listeners[$event]))
    {
    return $this->listeners[$event]->getAll();
    }


    return array();
    }


    /**
    * Tell if the given listener has been added.
    * If an event is specified, it will tell if the listener is registered for that event.
    *
    * @param object|Closure $listener The listener.
    * @param EventInterface|string $event The event object or name.
    *
    * @return boolean True if the listener is registered, false otherwise.
    *
    * @since 1.0
    */
    public function hasListener($listener, $event = null)
    {
    if ($event)
    {
    if ($event instanceof EventInterface)
    {
    $event = $event->getName();
    }


    if (isset($this->listeners[$event]))
    {
    return $this->listeners[$event]->has($listener);
    }
    }
    else
    {
    foreach ($this->listeners as $queue)
    {
    if ($queue->has($listener))
    {
    return true;
    }
    }
    }


    return false;
    }


    /**
    * Remove the given listener from this dispatcher.
    * If no event is specified, it will be removed from all events it is listening to.
    *
    * @param object|Closure $listener The listener to remove.
    * @param EventInterface|string $event The event object or name.
    *
    * @return Dispatcher This method is chainable.
    *
    * @since 1.0
    */
    public function removeListener($listener, $event = null)
    {
    if ($event)
    {
    if ($event instanceof EventInterface)
    {
    $event = $event->getName();
    }


    if (isset($this->listeners[$event]))
    {
    $this->listeners[$event]->remove($listener);
    }
    }


    else
    {
    foreach ($this->listeners as $queue)
    {
    $queue->remove($listener);
    }
    }


    return $this;
    }


    /**
    * Clear the listeners in this dispatcher.
    * If an event is specified, the listeners will be cleared only for that event.
    *
    * @param EventInterface|string $event The event object or name.
    *
    * @return Dispatcher This method is chainable.
    *
    * @since 1.0
    */
    public function clearListeners($event = null)
    {
    if ($event)
    {
    if ($event instanceof EventInterface)
    {
    $event = $event->getName();
    }


    if (isset($this->listeners[$event]))
    {
    unset($this->listeners[$event]);
    }
    }


    else
    {
    $this->listeners = array();
    }


    return $this;
    }


    /**
    * Count the number of registered listeners for the given event.
    *
    * @param EventInterface|string $event The event object or name.
    *
    * @return integer The number of registered listeners for the given event.
    *
    * @since 1.0
    */
    public function countListeners($event)
    {
    if ($event instanceof EventInterface)
    {
    $event = $event->getName();
    }


    return isset($this->listeners[$event]) ? count($this->listeners[$event]) : 0;
    }


    /**
    * Trigger an event.
    *
    * @param EventInterface|string $event The event object or name.
    *
    * @return EventInterface The event after being passed through all listeners.
    *
    * @since 1.0
    */
    public function triggerEvent($event)
    {
    if (!($event instanceof EventInterface))
    {
    if (isset($this->events[$event]))
    {
    $event = $this->events[$event];
    }


    else
    {
    $event = new Event($event);
    }
    }


    if (isset($this->listeners[$event->getName()]))
    {
    foreach ($this->listeners[$event->getName()] as $listener)
    {
    if ($event->isStopped())
    {
    return $event;
    }


    if ($listener instanceof Closure)
    {
    call_user_func($listener, $event);
    }


    else
    {
    call_user_func(array($listener, $event->getName()), $event);
    }
    }
    }


    return $event;
    }
    }

  8. #7
    Debiutant
    Dołączył
    24-11-2016
    Skąd
    Gliwice
    Wpisy
    1
    Punkty
    2

    Domyślny

    Poprzednik dał super odpowiedź haha

  9. #8
    Wyga palyga007 awatar
    Dołączył
    24-03-2010
    Skąd
    Wieluń
    Wpisy
    3 899
    Punkty
    229

    Domyślny

    Poprosiłem go o początek pliku, wysłał cały... trudno, nei wiem co w tym zabawnego.

    Spróbuj jeszcze raz nadpisać pliki z czystej instalki
    ---------------------------------------------------------------------------------------------
    "Nie chowaj nienawiści po wieczne czasy, ty, który sam nie jesteś wieczny."
    Przyjmę ofertę pracy w Australii...
    web-coder.pl

  10. #9
    Debiutant
    Dołączył
    21-11-2016
    Wpisy
    6
    Punkty
    2

    Domyślny

    Niestety nic nie pomogło. Robię na nowo stronę. Dziękuję za chęć pomocy.
    Pozdrawiam

  11. #10
    Debiutant
    Dołączył
    02-01-2017
    Wpisy
    5
    Punkty
    2

    Domyślny

    Z tego co u siebie widziałem to w plikach - w tych które podajesz masz spacje "spacje" przed <?php i dlatego nie masz tą informacje... podejrzewam że będzie to również w kilku innych plikach... jaki jest tego powód nie mam pojęcia, z tego co u mnie się dzieje virusiki na serwerze (odradzam cal.pl ciągle problemy!!!)

    Pozdrawiam
    Skaut

Strona 1 z 2 12 OstatniOstatni

Podobne tematy

  1. Problem z wyświetlaniem strony
    przez kamilcygan na forum Rozszerzenia - problemy z obsługą, zarządzaniem
    Odpowiedzi: 2
    Ostatni post/autor: 10-02-2014, 23:59
  2. Odpowiedzi: 10
    Ostatni post/autor: 29-01-2013, 16:28
  3. Problem z wyświetlaniem strony
    przez qiub3 na forum Administracja - ogólne
    Odpowiedzi: 3
    Ostatni post/autor: 15-11-2012, 21:15
  4. Problem z wyświetlaniem strony w IE
    przez Dollar na forum Szablony, wygląd, formatowanie
    Odpowiedzi: 7
    Ostatni post/autor: 15-03-2012, 16:57
  5. Problem z wyświetlaniem strony
    przez Maćko [ACPL] na forum Administracja - ogólne
    Odpowiedzi: 8
    Ostatni post/autor: 31-08-2010, 13:09

Reguły pisania

  • Nie możesz zakładać nowych tematów
  • Nie możesz dodawać wypowiedzi
  • Nie możesz dodawać załączników
  • Nie możesz poprawiać swoich postów
  •