Author Topic: Missing argument 2 for replace_url()  (Read 6462 times)

0 Members and 1 Guest are viewing this topic.

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.806
  • I ♥ 4I
    • View Profile
Missing argument 2 for replace_url()
« on: May 29, 2013, 06:57:03 PM »
Wenn ich die Einstellungen im ACP aufrufe, erhalte ich folgende Fehlermeldung:

Quote
Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Warning: Missing argument 2 for replace_url(), called in /var/www/web1177/html/4images/admin/settings.php on line 176 and defined in /var/www/web1177/html/4images/includes/functions.php on line 1028

Ich kann zwar Einstelungen vornehmen, aber nichts mit der Meldung anfangen. Was kann das sein?

Rembrandt

  • Guest
Re: Missing argument 2 for replace_url()
« Reply #1 on: May 29, 2013, 07:13:25 PM »
Hi!
und welche funktion ist das bei dir die die zeile 1028 beinhaltet in der functions.php?

mfg Andi

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.806
  • I ♥ 4I
    • View Profile
Re: Missing argument 2 for replace_url()
« Reply #2 on: May 29, 2013, 08:17:31 PM »
Das hier wäre das
function replace_url($text,$no_link) {
  
$text " ".$text." ";
  
$url_search_array = array(
    
"#([^]_a-z0-9-=\"'\/])www\.([a-z0-9\-]+)\.([a-z0-9\-.\~]+)((?:/[^, \(\)<>\n\r]*)?)#si",
    
"#([^]_a-z0-9-=\"'\/])([a-z]+?)://([^, \(\)<>\n\r]+)#si"
  
);

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.291
    • View Profile
    • Discover the New World of Kindersurprise
Re: Missing argument 2 for replace_url()
« Reply #3 on: May 29, 2013, 08:48:43 PM »
wo kommt denn das ,$no_link her ?
gehört das zu einem Mod ?

das ist der original Code
function replace_url($text) {
  
$text " ".$text." ";
  
$url_search_array = array(
    
"#([^]_a-z0-9-=\"'\/])www\.([a-z0-9\-]+)\.([a-z0-9\-.\~]+)((?:/[^, \(\)<>\n\r]*)?)#si",
    
"#([^]_a-z0-9-=\"'\/])([a-z]+?)://([^, \(\)<>\n\r]+)#si"
  
);

Danke Harald




Rembrandt

  • Guest
Re: Missing argument 2 for replace_url()
« Reply #4 on: May 29, 2013, 09:58:11 PM »
oder hat es vielleicht gar etwas mit diesen mod zu tun: http://www.4homepages.de/forum/index.php?topic=26188.0 :)

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.806
  • I ♥ 4I
    • View Profile
Re: Missing argument 2 for replace_url()
« Reply #5 on: May 29, 2013, 10:28:21 PM »
Hallo Jan,

du hast Recht. Wenn ich das
$no_link
entferne, dann ist der Fehler weg.
Es ist nicht meine Gallery und irgendjemand hat da etwas verbaut.
Wie kann ich das umgehen oder extra nur für das
$no_link
solch eine Funktion erstellen?

@ Andy,
nein

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.291
    • View Profile
    • Discover the New World of Kindersurprise
Re: Missing argument 2 for replace_url()
« Reply #6 on: May 29, 2013, 10:40:26 PM »
Tja Benny, da wirst wohl mal den Gallery Eigentümer fragen müssen, was er da verbaut hat.
Im Netz und hier im Forum ist darüber nichts zu finden.

LG Harald
Danke Harald