Software > Tu Web meteorológica

Plantilla Jachym (Meteotemplate)

<< < (14/171) > >>

tecno:
Hola, estoy intentando instalar la plantilla pero no lo consigo. Debe ser una tontería pero no lo veo.

Modifico el config.php y donde pone "$con=mysqli_connect("meteocanonigo.ddns.net","usuario","mipass",$dbName);" pongo los datos pero no me crea la bd. Lo cambio por "localhost" y me la crea. Importo datos, update y perfecto.
Lo tengo en una raspi y el directorio es "/var/www/template/, en el path pongo "/template/" y cuando entro en el servidor "meteocanonigo.ddns.net/template" no funciona, al cabo de un tiempo me sale "server error 500"
He puesto en la raiz /var/www/ los datos de la web que genera cumulus y sí funciona, pero la plantilla no.
Cuando me conecto por phpMyAdmin veo la bd con datos.

¿Que paso me estoy saltando?

Gracias

jachym:
Hi tecno,

not sure I understood everything since I know absolutely no Spanish, but just from what I can see is that you are using local server?

Can you give URL of your site? I could then see what the paths should look like.

In some cases (probably your case) it will be necessary to modify the baseURL as well.

tecno:
Hi jachym,
thanks for your help. The URL is http://meteocanonigo.ddns.net/template/index.php but it dosn't work.

In root of web page /var/www/ I have a web page and it works fine, it is only for test.
In config.php I wrote /template/ becouse the path is /var/www/template/index.php, is it correct?

Thanks a lot

jachym:
Hi,

your page is on a subdomain, which is always tricky and also, some servers do not support the DOCUMENT_ROOT command. This does not mean it will not work, but it will be necessary to make some changes in the config.

First, just copy here exactly what you have for
path =
pathURL=

jezuleon:
No todos sabemos inglés, y al ser un foro en español, no estaría mal que se pusiera en los dos idiomas, y así nos enteramos todos.

Navegación

[0] Índice de Mensajes

[#] Página Siguiente

[*] Página Anterior

Ir a la versión completa