News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

[BUG] Modification parse error

Started by Jhonjhon_123, March 02, 2012, 04:32:13 PM

Previous topic - Next topic

Jhonjhon_123

Quote from: English - Google Translate
Hello!

Well, installing smf on my server I came across a fatal error "Error while parsing the amendment" when trying to install patches, after extensive analysis found that:

1. Occurs only in certain servers
2. You must create the directory "temp" in "Packages / temp"
3. You must give all permissions

So there we all know, now if after that it does not work should include the following steps for each modification to install:

1. Upload the mod
2. Unzip the mod manually in the "Packages / temp"
3. Install the mod in the panel normally

These steps should go in Wonderland, the error is in the function read_tgz_data (Alias: read_tgz_file), because in some cases this can not unzip the subdirectories of the directory mod "Packages / temp".

I hope they serve all who have been killed by this error.

Greetings: D

Quote from: EspañolHola!

Bueno, instalando smf en mi servidor me tope con un error fatal "Error al parsear la modificación" cuando intentaba instalar modificaciones, luego de un extenso análisis descubrí lo siguiente:

1. Se da solo en ciertos servidores
2. Debes crear el directorio "temp" en "Packages/temp"
3. Debes darle todos los permisos

Hasta hay todos lo saben, ahora si luego de esto no les funciona deben incluir los siguientes pasos para cada modificación que instalen:

1. Subir la mod
2. Descomprimir manualmente la mod en el directorio "Packages/temp"
3. Instalar la mod en el panel normalmente

Con estos pasos debería ir de maravillas, el error esta en la función read_tgz_data (Alias: read_tgz_file), pues esta en ciertos casos no puede descomprimir los subdirectorios de la mod al directorio "Packages/temp".

Espero les sirva a todos los que se han matado con este error.

Saludos :D

S.O: CentOS 5 x86 + Kloxo + php 5.3.x + mod_php

NanoSector

Try No Temp Directory Removal. It fixes the bug where the Temp directory gets deleted.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Advertisement: