error when trying to add a new k2 article from front-end

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Aug 11, 2012 5:19 pm
Reply with quote
Report this post
Hi,
i receive an error when i try to add a k2 article with a front-end user.

the user i use is part of Registered group and have access to create and edit k2 articles of specific groups.

After "Add new item" and then complete the rest of form, i receive the following error "No input file specified." ...

i was looking in the log and i saw

Code: Select all
2012/08/11 19:12:53 [error] 10924#0: *99 FastCGI sent in stderr: "Unable to open primary script: /usr/share/nginx/www2.****.tld/component/k2/item/index.php (No such file or directory)" while reading response header from upstream, client: 192.168.2.11, server: www2.***.tld, request: "POST /component/k2/item/index.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "www2.****.tld", referrer: "http://www2.****.tld/component/k2/item/add.html?tmpl=component"


i looked in /usr/share/nginx/www2.****.tld/ and i didn't see any component folder, only components.

i reinstalled it on an apache server and i receive the same error..

if helps somehow..i use an nginx server.

some help please ?

thank you !
User avatar
Fresh Boarder

GK User
Sun Aug 12, 2012 8:23 am
Reply with quote
Report this post
Are you using SEF by any chance, if you are then disable it from global configuration for testing purposes. Try adding a k2 article, if it works ok then your server is not using either apache or it is not configured properly to use .htaccess file and it is not routing well which causes your error.

Settings to disable.

Global configuration > Site > Search Engine friendly url = No
Global configuration > Site > Use URL rewriting = No


See you around...
User avatar
Platinum Boarder

GK User
Sun Aug 12, 2012 8:37 am
Reply with quote
Report this post
It works now, after disabling those settings.
Thank you :!:
User avatar
Fresh Boarder

GK User
Sun Aug 12, 2012 8:44 am
Reply with quote
Report this post
No problem at all, see you around...
User avatar
Platinum Boarder


cron