![]() |
|
File not found (site updated from 1.4.1.6 to 1.4.9 - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: File not found (site updated from 1.4.1.6 to 1.4.9 (/thread-12359.html) |
File not found (site updated from 1.4.1.6 to 1.4.9 - soundiver - 2015-11-08 Hello, I've upgraded my online site from 1.4.1.6 to 1.4.9. Now I have problem with navigation: from menu, if I click a link to custom page (zenpage) I Got "file not found". But if I visit my local site everything is ok, navigation works fine. The mod rewrite is checked htaccess file version 1.4.5;Rewrite rules are now handled by PHP codeSee the file "zenphoto-rewrite.txt" for the actual rulesThese rules redirect everything not directly accessing a file to the Zenphoto index.php script
RewriteEngine On RewriteBase /zenphoto RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteRule ^.*/?$ index.php [L,QSA] Thank you File not found (site updated from 1.4.1.6 to 1.4.9 - acrylian - 2015-11-08 Which theme? Does a theme file File not found (site updated from 1.4.1.6 to 1.4.9 - soundiver - 2015-11-08 Thank you for your quick answer! The theme is Zenpage. On server, Zenphoto is installed in the "zenphoto" folder. In local, Zenphoto is installed under http://localhost/ZENPHOTO1.4.9/zenphoto/ but on the server I have do setup and update htaccess has not "ZENPHOTO1.4.9" File not found (site updated from 1.4.1.6 to 1.4.9 - soundiver - 2015-11-08 ...and, yes, a theme file gallery.php exist. File not found (site updated from 1.4.1.6 to 1.4.9 - soundiver - 2015-11-08 same problem with other links (from main menu) such as "http://my.examplesite.ext/zenphoto/category/ARTICLES/" File not found (site updated from 1.4.1.6 to 1.4.9 - fretzl - 2015-11-08 Really don't know what is going on there but you could try to delete the .htaccess file and run setup again. File not found (site updated from 1.4.1.6 to 1.4.9 - soundiver - 2015-11-08 I have deleted the .htaccess and then run setup again. During setup I click on "Make setup create the file" (htaccess) button and then the page reloads, but still showing the "Make setup create the file" button and no htaccess file was created. File not found (site updated from 1.4.1.6 to 1.4.9 - soundiver - 2015-11-08 (just for info: there is another setup warning: "Setup could not create a robots.txt file") File not found (site updated from 1.4.1.6 to 1.4.9 - acrylian - 2015-11-08 If Zenphoto is installed in the folder You should review your server error log, possibly permisions issues. File not found (site updated from 1.4.1.6 to 1.4.9 - soundiver - 2015-11-08 In the admin panel I've enabled the "mod rewrite" check box. In the Apache httpd.conf file the rewrite_module is loaded, but I will test if is really enabled. Thank you File not found (site updated from 1.4.1.6 to 1.4.9 - soundiver - 2015-11-08 In the Apache config I have changed AllowOverride None to AllowOverride All inside the DocumentRoot Directory Directive, and now it works!! thank you File not found (site updated from 1.4.1.6 to 1.4.9 - acrylian - 2015-11-08 All right, good you worked it out! |