Hmm, no... for example, on our servers, setting file permissions of a CGI 
script to 777 will prevent it from working as a security measure. So, file 
ownership or permissions are still first things that come to mind.

Create a new app from scratch (as you say, this works) and upload/extract a 
zip or a w2p of the same welcome app, then compare the file and directory 
ownership / permissions. By compare, I mean compare *exactly*, file for 
file, dir for dir...

Regards

On Tuesday, April 15, 2014 11:01:08 AM UTC+2, Richard wrote:
>
> The issue was an admin app from an older version.
>  
> The site on Justhost.com is running again. I am using the cgihandler.py.
>  
> BUT: imported apps do not run and give the error [an error occurred while 
> processing this directive]
> I tried both : installing the w2p file and copying the application as a 
> zip and extract in the application directory. 
>  
> Creating a new app from scratch thru the admin interface gives an app that 
> works.
>  
> I have also put permisions to 777, so permissions is also excluded as 
> possible cause.
>  
> Any clu? 
> thanks 
> Richard
>  
>
> On Sunday, April 13, 2014 10:12:46 PM UTC+2, Richard wrote:
>
>> Gooed evening,
>>
>> When I call an app on my domain the index view is returned.
>> But having an SSL connection In Chrome I do get the following error (In 
>> IE 11 I do not get an error)
>>
>> Any clus what may cause this? I run from the latest source version of 
>> web2py.
>>
>> Thank you in advance
>>
>> TICKET ID
>>
>> 213.10.60.120.2014-04-13.14-08-36.a2f01714-7fb0-4aa9-8519-636ee745fb03
>> <type 'exceptions.TypeError'> not enough arguments for format string
>> VERSIONweb2pyâ„¢stablePythonPython 2.6.6: /usr/bin/python (prefix: /usr)
>> TRACEBACK
>>
>> 1.
>> 2.
>> 3.
>> 4.
>> 5.
>> 6.
>> 7.
>>
>> Traceback (most recent call last):
>>   File "/home4/mamplcom/public_html/cgi-bin/gluon/restricted.py", line 217, 
>> in restricted
>>     exec ccode in environment
>>   File 
>> "/home4/mamplcom/public_html/cgi-bin/applications/admin/views/default/site.html",
>>  line 123, in <module>
>>     <input id="appurl" name="appurl" type="text" id="upload_url"/>
>> TypeError: not enough arguments for format string
>>
>> ERROR SNAPSHOT 
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to