proyectoalba / alba

Sistema de gestión educativa
28 stars 28 forks source link

CSS y JS no cargan bien... #25

Closed sliria closed 11 years ago

sliria commented 11 years ago

Fernando te paso lo que me sale cuando intento el publis:assets

kloke@klokserver2:/var/www/alba$ sudo ./symfony plugin:publish-assets [sudo] password for kloke:

plugin Configuring plugin - sfCompat10Plugin plugin Configuring plugin - sfPropelPlugin PHP Warning: symlink(): File exists in /var/www/alba/lib/vendor/symfony/lib/task/sfFilesystem.class.php on line 224 plugin Configuring plugin - sfProtoculousPlugin PHP Warning: symlink(): File exists in /var/www/alba/lib/vendor/symfony/lib/task/sfFilesystem.class.php on line 224 plugin Configuring plugin - albaToolsPlugin plugin Configuring plugin - sfMediaLibraryPlugin PHP Warning: symlink(): File exists in /var/www/alba/lib/vendor/symfony/lib/task/sfFilesystem.class.php on line 224 plugin Configuring plugin - nahoMailPlugin kloke@klokserver2:/var/www/alba$ ls -l total 52 drwxrwxrwx 3 root root 4096 2012-09-26 06:46 apps drwxrwxrwx 3 root root 4096 2013-03-21 21:29 cache drwxrwxrwx 3 root root 4096 2013-03-22 17:23 config drwxrwxrwx 4 root root 4096 2012-09-26 06:46 data drwxrwxrwx 4 root root 4096 2012-09-26 06:46 debian drwxrwxrwx 4 root root 4096 2012-09-26 06:46 doc drwxrwxrwx 8 root root 4096 2012-09-26 06:46 lib drwxrwxrwx 2 root root 4096 2012-09-26 06:46 log drwxrwxrwx 5 root root 4096 2012-09-26 06:46 plugins -rwxrwxrwx 1 root root 482 2012-09-26 06:46 README.md -rwxrwxrwx 1 root root 446 2012-09-26 06:46 symfony drwxrwxrwx 5 root root 4096 2012-09-26 06:46 test drwxrwxrwx 8 root root 4096 2012-09-26 06:46 web kloke@klokserver2:/var/www/alba$

ftoledo commented 11 years ago

pegame por el ls -l de web

sliria commented 11 years ago

kloke@klokserver2:/var/www/alba/web$ ls -l total 72 drwxrwxrwx 3 root root 4096 2012-09-26 06:46 css -rwxrwxrwx 1 root root 27 2012-09-26 06:46 error.php -rwxrwxrwx 1 root root 766 2012-09-26 06:46 favicon.ico -rwxrwxrwx 1 root root 626 2012-09-26 06:46 htaccess.dist drwxrwxrwx 4 root root 4096 2012-09-26 06:46 icalVisualizador drwxrwxrwx 8 root root 4096 2012-09-26 06:46 images -rwxrwxrwx 1 root root 236 2012-09-26 06:46 index.php drwxrwxrwx 6 root root 4096 2012-09-26 06:46 js -rwxrwxrwx 1 root root 596 2012-09-26 06:46 principal_demo.php -rwxrwxrwx 1 root root 594 2012-09-26 06:46 principal_dev.php -rwxrwxrwx 1 root root 24 2012-09-26 06:46 robots.txt -rwxrwxrwx 1 root root 34 2012-09-26 06:46 sf -rwxrwxrwx 1 root root 35 2012-09-26 06:46 sfMediaLibraryPlugin -rwxrwxrwx 1 root root 52 2012-09-26 06:46 sfPropelPlugin -rwxrwxrwx 1 root root 57 2012-09-26 06:46 sfProtoculousPlugin drwxrwxrwx 2 root root 4096 2012-09-26 06:46 tmp -rwxrwxrwx 1 root root 391 2012-09-26 06:46 unavailable.html drwxrwxrwx 5 root root 4096 2012-09-26 06:46 uploads kloke@klokserver2:/var/www/alba/web$

ftoledo commented 11 years ago

algo esta mal, los directorios sf***Plugin no son enlaces: proba esto desde la raiz del proyecto:

sudo rm -rf web/sfMediaLibraryPlugin
sudo rm -rf  web/sfPropelPlugin
sudo rm -rf web/sfProtoculousPlugin
sudo rm -rf web/sf
sudo ./symfony plugin:publish-assets
cd web
sudo ln -s ../lib/vendor/symfony/data/web/sf .
sliria commented 11 years ago

Genial!!!! :) correo ookk, ahora me falta:

fenix011 commented 11 years ago

Bravo ! Queda para la historia del Proyecto Alba, documentado acá

sliria commented 11 years ago

jeje, no me arranca el ubuntu...creo que es una actualizacion que no se instalo bien...empezando de cero...

fenix011 commented 11 years ago

sliria pasate a Debian !! Ja,Ja!!

sliria commented 11 years ago

jaja, no lo use nunca, siempre use red hat y desp pase a ubuntu, server y desktop...tendria que probar

donde puedo desargar la db para actualizar de la version 1.1 a la 1.2? porque mañana tenemos jornada y debo presentar el sistema y en mi note lo tengo funcionando pero la version 1.1 y la 1.2 trae algunas correcciones de importancia... desde la wiki no la vi

fenix011 commented 11 years ago

(Ubuntu - Marketing = Debian ;-)

Fijate bien en la wiki acá, a ver si te sirve ... Actualización del programa... Probá y contame como te fue!

sliria commented 11 years ago

nop, o algo no estoy viendo...me estaria faltando la config de la db 1.2 porque hago esto:

liria@liria-VGN-NS120FH:~$ mysqldump -u root -p alba11 < data/sql/db-1.1-1.2.sqlbash: data/sql/db-1.1-1.2.sql: No existe el archivo o el directorio

sliria commented 11 years ago

listo, corriendo otra vez...cambie la pc el disco fallaba y la oc parecia inestable too ;)