1,123
edits
Line 36: | Line 36: | ||
== Configuration == | == Configuration == | ||
#Run CMX and change the Upload protocol to PHP, set the URL to your web site + upload.php | #Run CMX and change the Upload protocol to PHP, set the URL to your web site + upload.php<br>for example: ''<nowiki>https://mysite.com/weather/upload.php</nowiki>'' | ||
#Copy the suggested unique "PHP Secret" from the Internet Settings (or make up your own) | #Copy the suggested unique "PHP Secret" from the Internet Settings (or make up your own) | ||
#Edit the /webfiles/upload.php file, and change the default secret 'change_this_to_the_value_in_CMX' to the value in CMX | #Edit the '''/webfiles/upload.php''' file, and change the default secret '''change_this_to_the_value_in_CMX''' to the value in CMX | ||
#Copy the /webfiles/upload.php to your web server, place it in the root folder of the default web site along with the index.html files etc | #Copy the '''/webfiles/upload.php''' to your web server, place it in the root folder of the default web site along with the index.html files etc | ||
#You will need to update the paths for the NOAA Reports (probably needs to be just “Reports”) | #You will need to update the paths for the NOAA Reports (it probably needs to be just “Reports”) | ||
#Amend the paths of any Extra Files you upload | |||
#The uploads should start working! | #The uploads should start working! | ||
#You can now disable all the "Create local" options for files in Internet Settings|Interval Settings. Local copies of the files created in the /web folder are no longer required | #You can now disable all the "Create local" options for files in Internet Settings|Interval Settings. Local copies of the files created in the /web folder are no longer required | ||
Line 49: | Line 50: | ||
=== Migrating your FTP settings === | === Migrating your FTP settings === | ||
When setting the Upload protocol to PHP you need to make the following upload settings relative as well: | When setting the Upload protocol to PHP you may need to make the following upload settings relative as well: | ||
#NOAA Reports | #NOAA Reports | ||
#Extra Web Files | #Extra Web Files | ||
Line 59: | Line 60: | ||
NOTE: When using the Wizard you will also encounter Upload configuration which obeys the same rules. | NOTE: When using the Wizard you will also encounter Upload configuration which obeys the same rules. | ||
NOTE: The settings are valid not only when you use ''CMX'' but also for ''CumulusUtils'' | NOTE: The settings are valid not only when you use ''CMX'' but also for ''CumulusUtils'' which does not have any setting for ''upload.PHP'' of its own! | ||
== Cumulus.ini == | == Cumulus.ini == |