Weather by You!
Templates and Projects support => Php templates => Topic started by: ecloud on January 23, 2013, 05:56:33 AM
-
I can’t display the template Weather_blues_v2 on my web server
I have followed the documentation http://weatherbyyou.com/wb_install.php and I can’t display any thing I have the following error:
Erreur HTTP 500 (Internal Server Error)
But I can see : the manage.php page and the empty.php page
http://ecloud.hd.free.fr/bluev2/manage.php (http://ecloud.hd.free.fr/bluev2/manage.php)
http://ecloud.hd.free.fr/bluev2/empty.php (http://ecloud.hd.free.fr/bluev2/empty.php)
If I delete wt_data_inc.php I can display all web page with no data
I have duplication my site to complete test
One : with wt_data_inc.php in the root of my web site
http://ecloud.hd.free.fr/bluev2/index.php (http://ecloud.hd.free.fr/bluev2/index.php)
the second without wt_data_inc.php
http://ecloud.hd.free.fr/bluev2-d/index.php (http://ecloud.hd.free.fr/bluev2-d/index.php)
More information :
my configuration
Centos 6.2 64b
php 5.4.0
MySQL version 5.5.22
Apache version 2.2.15
on the /bluev2 and /bluev2-d I have changed right to 777
I you have any idea to help me I will appreciate
Regards
Remy
-
Hi Remy,
What a pleasure to answer someone with as much details as you!! :)
(Also a good idea to keep manage page with "standard" password, for now!)
As I see in your site console, all things are there, except the data file!
Then I think of a really basic problem... have Cumulus processed the data file
wt_data_inc.php and sent it to your site??
Cumulus need to "inject" data into that file to make the template work!
See "Cumulus configuration" on this link: http://weatherbyyou.com/wb_install.php
Something that could be tricky also, is the remote filename path on the server!
I've taked public_html as usual path, but it could be www, internet or else!
Hope this help!
Regards,
Jacques
-
Hi jacques
i have checked my cumulus configuration .
My update from cumulus to my web site seem to be work properly.
see below the detail of wt_data_inc.php on my server
-rwxrwxrwx 1 ecloud ecloud 46399 Jan 22 22:44 wt_data_inc.bak
-rwxrwxrwx 1 ecloud ecloud 45456 Jan 22 22:55 wt_data_inc.ph_
-rwxrwxrwx 1 ecloud ecloud 46616 Jan 23 21:40 wt_data_inc.php
and i uploaded my wt_data_inc.php
may be some think wrong inside
Regards
Remy
-
Hi Remy,
I don't know if I have the right one, but the "not processed" version looks like yours:
$day = '<#day>';
But the processed version should have something like that:
$day = 'Sunday';
Then, verify with the version on your site!
Regards,
Jacques
-
Hi Jacques
I have moved my template to another web site .Now i have a error message
Warning: include(wt_data_inc.php) [function.include]: failed to open stream: No such file or directory in /mnt/113/sda/1/d/ecloud/sunsetv1/index_txt.php on line 22
at the ligne:
22 include('wt_data_inc.php');
I dont understand PHP , i know is stupide for a guy who want to have a web site .
Regards
Remy
-
Hi Remy,
WARNING! WORD STUPID IS NOT ALLOWED IN THIS SITE WARNING! >:D :-X
(Please use alternative word: Novice, beginers or Dummies at worst!)
Your message mention that your file wt_data_inc.php could not be found on your website!
As I told you, problem is to find how to specify the right path to the place where is the location for
the file. I recognize your /mnt/113/sda/1/d/ecloud/sunsetv1 as a Linux/Unix path, but I don't
know more about it!
Only thing I could suggest is to try many ways to specify that place!
Sorry, :(
Jacques
-
Hi Jacques
I have modify my configuration of my web server to display more error in the php.ini
error_reporting, display_errors and display_startup_errors
After I could see my mistakes and :
For bluev2 and sky same error
Parse error: in /var/www/html/bluev2/wt_data_inc.php on line 432
For sunsetv1
Parse error: in /var/www/html/sunsetv1/wt_data_inc.php on line 432
I have disable the folowwing line , and now it works
//$longlocation = '<#longlocation>'
Something wrong in this variable ,i d’ont know.
Finaly i have choose sunset
http://ecloud.hd.free.fr/sunsetv1/index.php (http://ecloud.hd.free.fr/sunsetv1/index.php)
Jacque thank a lot for your work and your patience .I appreciate a lot your job , continue in the same way.
:)
Regards
Remy
-
Hi Remy,
Yessssssss... succeed!!!! :D
With computers, it takes a lot of patience... and you have it!! Bravo!!! 8)
Regards,
Jacques