Author Topic: Initial instal issue - subdirectory  (Read 15230 times)

BCJKiwi

  • Guest
Initial instal issue - subdirectory
« on: September 20, 2012, 01:25:17 AM »
Hi

Trying to set up the system from scratch for testing. Using weather_blues_v2 PHP

Have errors as I have installed the entire system into the subdirectory;
public_html/wxtest
and can find no where to tell the system to start from there instead of
public_html

Cumulus file uploads OK
system is still looking for files in public_html

How do I change this?

Thanks

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Initial instal issue - subdirectory
« Reply #1 on: September 20, 2012, 07:08:41 AM »
Hi,

I've looked to your template installation and it looks pretty good!
(I've used http://silveracorn.co.nz/wxtest)

This template use relative Url's, then you just have to unzip to a folder
and keep the exact folders and sub-folders structure to have it work.
The only place you have to mention subfolder is in Cumulus config
by specifying "public_html/wxtest" as you seem to do!

Then be sure to include all files in their exact folders/sub-folders structure!

Regards,
Jacques
Please, consider supporting this site 

BCJKiwi

  • Guest
Re: Initial instal issue - subdirectory
« Reply #2 on: September 20, 2012, 04:40:21 PM »
Well it does seem to be working now - wonder if there is some issue with our host and how long it takes them to fully implement a new installation?

However still have a problem with the manager.
It is generating a syntax error, unexp... in wt_data_intl.php on line 342 sorry can't read all the message as it runs behind the translations table.

Have looked at wt_data_intl.php and it has strange format of the dates in the //-- Section RECORDS --
$TtempHF = $pre_time.'<#TtempH format="h'h'nn">'.$pre_date.utf8_encode('<#TtempH format="d mmmm yyyy">');
changed it to match the wt_data_inc.php format
$TtempHF = $pre_time.'<#TtempH format="hh':'nn">'.$pre_date.utf8_encode('<#TtempH format="d mmmm yyyy">');

but it is still throwing the same error and does not complete the display

Any suggestions?

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Initial instal issue - subdirectory
« Reply #3 on: September 20, 2012, 05:21:41 PM »
Hi,

First, you have to use wt_data_intl.php if you plan to use other then English language.
(And you have to rename it wt_data_inc.php)

Format in Intl (International) version was mainly French: 9h45 instead of 09:45.
But there is a "trick" on that format as the h letter serve to indicate 1 (h) or 2 (hh) position
hour. Then letter h has to be enclosed by single quotes (as this: 'h'), but semi-colon doesn't
need those quotes!. eg. format="hh:nn"

Hope this help!

Regards,
Jacques
Ps This is the problem of php inclusion, if somethig is wrong, no display at all!  ::)
Please, consider supporting this site 

BCJKiwi

  • Guest
Re: Initial instal issue - subdirectory
« Reply #4 on: September 20, 2012, 06:59:25 PM »
Still having problems,

Edited all instances of h'h'nn to hh:nn

Then got errors at the section //-- webtags without commas --
there were no ' around the <#xxxx> webtags so fixed that.

So now I have the fixed version of intl installed on the server but renamed to inc.
so there is no intl just an inc which used to be an intl.
No errors dispayed but the webtags are not receiving data - just displaying as text.

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Initial instal issue - subdirectory
« Reply #5 on: September 20, 2012, 07:10:49 PM »
Hi,

Have you check to  the end of installation guide?
You have to tell Cumulus to process that file!

Check to end of that page:  Cumulus configuration
http://weatherbyyou.com/wb_install.php

In brief, you have only one file to process each time: wt_data_inc.php

Hope this help

Jacques
Please, consider supporting this site 

BCJKiwi

  • Guest
Re: Initial instal issue - subdirectory
« Reply #6 on: September 20, 2012, 07:28:45 PM »
Duhh!

Was overlooking that file was back in Cumulus!

Offline uncle_bob

  • Full Member
  • ***
  • Posts: 61
    • Conder Weather, Canberra
Re: Initial instal issue - subdirectory
« Reply #7 on: September 30, 2012, 02:22:11 AM »
Hiya mate.

Just a heads up that it looks like you need the latest version of the Trends,php page as you're got the same problem I had here..
http://weatherbyyou.com/forum/index.php?topic=461.msg1475