A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 575
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/system/core/Exceptions.php:271)

Filename: view/rss.php

Line Number: 2

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/themes/geocities/views/view/rss.php
Line: 2
Function: header

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 173
Function: include

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 43
Function: _ci_load

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 579
Function: view

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

falalalalalala23 - Stikked falalalalalala23 - Stikked http://geopaste.scratchbook.ch/ en Re: falalalalalala23 http://geopaste.scratchbook.ch/view/092f4290 Mon, 09 Sep 2019 21:02:29 +0200 falalalalalala http://geopaste.scratchbook.ch/view/092f4290
  1. function agregarArchivoAAdjuntos(archivo) {
  2.     var opcion = document.createElement('option');
  3.     opcion.value = GLOBAL.PlateformPublicationPath + decodeURIComponent(archivo.replace(new RegExp('\\+', 'g'), ' ').replace(new RegExp('\\/', 'g'), '\\'));
  4.     opcion.text = decodeURIComponent(archivo.substring(archivo.lastIndexOf('/') + 1).replace(new RegExp('\\+', 'g'), ' '));
  5.     opcion.selected = true;
  6.     document.getElementById('liAdjuntos').appendChild(opcion);
  7. }
  8. function adjuntarArchivo() {
  9.     $("#btUpload").prop("disabled", true);
  10.     var form = document.getElementById("fileUploadForm");
  11.     var formData = new FormData(form);
  12.     formData.append("sessionId", GLOBAL.USER);
  13.     $.ajax({
  14.         type: "POST",
  15.         url: "../../../../ChatFileUpload/api/fileupload/",
  16.         enctype: "multipart/form-data",
  17.         contentType: false,
  18.         processData: false,
  19.         cache: false,
  20.         data: formData,
  21.         success: function (data, textStatus, xhr) {
  22.             if (data != "ERROR") {
  23.                 $("#btUpload").prop("disabled", false);
  24.                 agregarArchivoAAdjuntos(data);
  25.             } else {
  26.                 alert("Error al subir el archivo.");
  27.                 $("#btUpload").prop("disabled", false);
  28.             }
  29.         },
  30.         error: function (xmlHttpRequest, textStatus, errorThrown) {
  31.             alert(textStatus + ": " + errorThrown);
  32.             $("#btUpload").prop("disabled", false);
  33.         }
  34.     });
  35. }
  36. // OMG WORKS GREAT!!!!! :O
]]>