![]() |
|
Trouble with Zen and displaying pictures after an upload. - 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: Trouble with Zen and displaying pictures after an upload. (/thread-972.html) |
Trouble with Zen and displaying pictures after an upload. - blaterza - 2006-12-14 The install went pretty easy. After the honeymoon was over I had a few problems. I know it is something I am doing but I am not sure what. I know this has been asked a hundred times and I have read the posts and still have no found my answer. Sorry if this is a tired post.
I am running Windows Enterprise Server 2003 SP1 I have VNC installed and also a test file under http://www.laterza.net/zenphoto/test.php **Here is the HTACCESS File:*** ` htaccess file for zenphotoNOTE: Change the RewriteBase below to the absolute path to your zenphoto directory.RewriteEngine On !!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!RewriteBase /zenphoto RewriteCond %{REQUEST_FILENAME} -f [NC,OR] RewriteCond %{REQUEST_FILENAME} -d [NC] RewriteRule ^.*$ - [R,L] RewriteRule ^admin/?$ zen/admin.php [R,L] RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA] RewriteRule ^([^/]+)/?$ index.php?album=$1 [L,QSA] RewriteRule ^([^/]+)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [L,QSA] RewriteRule ^([^/]+)/image/(thumb|[0-9]{1,4})/([^/]+)$ zen/i.php?a=$1&i=$3&s=$2 [L,QSA] RewriteRule ^([^/]+)/image/([^/]+)$ albums/$1/$2 [L] RewriteRule ^([^/]+)/([^/]+)$ index.php?album=$1&image=$2 [L,QSA] ` ****Here is the ZP-Config.php File:** ` ` Trouble with Zen and displaying pictures after an upload. - blaterza - 2006-12-14 If I change the mod_rewrite to false I get a new page but still no pictures. :-( Trouble with Zen and displaying pictures after an upload. - trisweb - 2006-12-14 Well, since you had no It seems like your server isn't supporting mod_rewrite also, so turn that to off. Let me know if you need more help. Trouble with Zen and displaying pictures after an upload. - trisweb - 2006-12-14 More: after manually loading the image processor, as follows:
We get this error, which means the PHP GD Extensions are not installed on your server.
In a WAMP installation, that usually means that you need to load the library in your php.ini and set the appropriate paths. Not too hard if you have control over that. Trouble with Zen and displaying pictures after an upload. - blaterza - 2006-12-14 OK I added the folder Cache, turned off mod_rewrite and turn on the PHP GD Extensions. SNAP! I get thumbs now! Only problem is when I click a thumb I get " Trouble with Zen and displaying pictures after an upload. - blaterza - 2006-12-14 I am looking at my php.ini and I do not see where I should make the changes, here is the Pths section: ;;;;;;;;;;;;;;;;;;;;;;;;; ; UNIX: "/path1:/path2" ; The root of the PHP pages, used only if nonempty. ; The directory under which PHP opens the script using /~username used only ; Directory in which the loadable extensions (modules) reside. ; Whether or not to enable the dl() function. The dl() function does NOT work ; cgi.force_redirect is necessary to provide security running PHP as a CGI under ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate ; cgi.rfc2616_headers configuration option tells PHP what type of headers to ;;;;;;;;;;;;;;;; ; Whether to allow HTTP file uploads. ; Temporary directory for HTTP uploaded files (will use system default if not ; Maximum allowed size for uploaded files.
----------------------| By changing this will I allow larger than 2MB files? Trouble with Zen and displaying pictures after an upload. - blaterza - 2006-12-15 I know it is something I am missing, I just cannot seem to find it! I never was very good at programming. Trouble with Zen and displaying pictures after an upload. - blaterza - 2006-12-15 I found a thread from another user: clam Member wrote: "I fixed it for my system! You will need to make the following change to the php.ini file on your server: Find the line "zend.ze1_compatibility_mode = off" and change it to "zend.ze1_compatibility_mode = on" (without the quotes). This seemed to fix the issue for my configuration... Hope that helps! " This worked for me. Thank you Clam and Thank you Tris for your help also. This program really is the best. Trouble with Zen and displaying pictures after an upload. - blaterza - 2006-12-15 The only problem I am finding now is that users cannot comment pictures. |