[opencms-dev] write access to file
Qi Zhang
kksjtu at gmail.com
Tue Oct 25 20:50:11 CEST 2016
Hi,
the page is visible, just the function doesn't work.There is a webform,
after clicking the function should be called. And then the page got a HTTP
500 error..
2016-10-25 19:55 GMT+02:00 Jose Fermin Athie Campollo <
athiecampollo at gmail.com>:
> Hi,
> A few questions:
> Do you use a balancer or is the server of opencms who resolve the domain?
> If it is from opencms you have to set the new domain http://www.opencms-
> wiki.org/wiki/MultiSite_configuration_instructions
>
> In www.123.com is the only page they can not see?
>
> Regards
>
> El mar., 25 de oct. de 2016 a la(s) 11:53, Qi Zhang <kksjtu at gmail.com>
> escribió:
>
>> Hi,
>>
>> thanks for the help!
>>
>> Yes, I was coding according to the 1st documentation. But my problem is
>>
>>
>> http://opencms.123.com/index.html(offline)
>> works!
>> http://opencms.123.com/index.html(online)
>> works!
>> http://www.123.com/index.html(online)
>> NOT working!
>>
>>
>> Do you have any idea why it happen?
>>
>> 2016-10-25 5:35 GMT+02:00 Jose Fermin Athie Campollo <
>> athiecampollo at gmail.com>:
>>
>> Hi
>>
>> Right now i can't see this page. http://www.opencms-wiki.
>> org/wiki/Write_a_file_programatically in it you could find a way to
>> create a resource and then publish it
>> Some one else publish the code to create a resource http://opencms.
>> 996256.n3.nabble.com/Create-resource-programatically-td15459.html
>>
>> You should see the javadoc of CmsObject you can do a lot of thing with
>> it.
>>
>> Regards
>>
>> El lun., 24 de oct. de 2016 a la(s) 19:10, 楊博凱 <ken at thesys.com.tw>
>> escribió:
>>
>> 你要先儲存它至offline, 再利用api publish它至online 版本。
>>
>> 2016年10月25日 上午12:38,"Qi Zhang" <kksjtu at gmail.com>寫道:
>>
>> Hi everyone,
>>
>> I need to* store *submited web form *data* information* into* a text*
>> file* (doesn't matter where, as long as reachable). Unfortunatelly I
>> just got to know it is not allowed to have write access in online project. *Anyone
>> has idea of how to archive this?*
>>
>> I've tried to switch context to offline context. But it only works when I
>> test it in the workspace. In the published real webpage it won't work with
>> error HTTP 500..
>>
>> Thanks a lot in advance!
>>
>> --
>> Best regards,
>> Qi Zhang
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>
>>
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>
>>
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>
>>
>>
>>
>>
>>
>>
>> --
>> Best regards,
>> Qi Zhang
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>
>>
>>
>>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>
--
Best regards,
Qi Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20161025/8fc39b37/attachment.htm>
More information about the opencms-dev
mailing list