ZenphotoCMS Forum
error access when uploading large file - 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: error access when uploading large file (/thread-9515.html)



error access when uploading large file - kushu - 23-01-2012

Hello I'm a new user of ZenPhoto and i'm experiencing some problems with the upload section:

The problem reside in the size of the file to upload, who definitely wan't want to pass the 10Mo bar ( max_upload-size defined to 700M to be sure), i have tested with 9Mo mp4,flv and zip files and it works.
The type of error is strange: You do not have proper rights to access /zenphoto/zp-core/admin-httpupload/uploader.php.

I precise that i'm testing ZenPhoto on win7 with wamp server.

I show you the overview:

Zenphoto version 1.4.2 [8956] (Official Build)
Current locale setting: French_France.1252
Current gallery theme: Default
PHP version: 5.3.5
Graphics support: Version bundled (2.0.34 compatible) de la bibliothèque GD pour PHP
PHP memory limit: 512M (Note: Your server might allocate less!)
MySql version: 5.5.8
Database name: zenphoto
Table prefix: zenphoto_
Spam filter: none
CAPTCHA generator: zenphoto

11 active plugins:

ajaxFilemanager v1.4.2
class-video v1.4.2
deprecated-functions v1.4.2
hitcounter v1.4.2
jplayer v1.4.2
security-logger v1.4.2
tiny_mce v1.4.2
user_login-out v1.4.2
zenphoto_news v1.4.2
zenphoto_sendmail v1.4.2
zenphoto_seo v1.4.2

16 active filters:

admin_allow_access
    1: security-logger.php => security_logger_adminGate
admin_log_actions
    1: security-logger.php => security_logger_log_action
admin_login_attempt
    1: security-logger.php => security_logger_adminLoginLogger
admin_managed_albums_access
    1: security-logger.php => security_logger_adminAlbumGate
admin_overview
    0: zenphoto_news.php => printNews
admin_XSRF_access
    1: security-logger.php => security_logger_admin_XSRF_access
federated_login_attempt
    1: security-logger.php => security_logger_federatedLoginLogger
guest_login_attempt
    1: security-logger.php => security_logger_guestLoginLogger
load_theme_script
    1: hitcounter.php => hitcounter_load_script
log_setup
    1: security-logger.php => security_logger_log_setup
save_user
    1: security-logger.php => security_logger_UserSave
sendmail
    5: zenphoto_sendmail.php => zenphoto_sendmail
seoFriendly
    5: zenphoto_seo.php => filterAccentedCharacters
seoFriendly_js
    5: zenphoto_seo.php => filterAccentedCharacters_js
texteditor_config
    5: tiny_mce.php => tinymceConfigJS
theme_head
    1: jplayer.php => jplayerJS
    1: jplayer.php => jplayer_playlistJS
    1: user_login-out.php => colorbox_css
    9: deprecated-functions.php => _emitPluginScripts

I have tried with a fresh install too and the same error occur.. :/

Any idea?

Ps: here you can see some logs
2012-01-23 11:44:00 127.0.0.1 Blocked access cyrp Cyr P Failed /zenphoto/zp-core/admin-httpupload/uploader.php
2012-01-23 11:49:28 127.0.0.1 Blocked access cyrp Cyr P Failed /zenphoto/zp-core/admin-jQuery/uploader.php




error access when uploading large file - acrylian - 23-01-2012

Did you try another upload type as there are three? Also you can always upload via FTP directly bypassing any server limit (except space naturally.).




error access when uploading large file - kushu - 23-01-2012

Yes, i've tried jquery, flash and simple http method, the 3 fails when the 9Mo limit is reached (http error in flash method for example).
The ftp method work but this is not adapted for a lambda user (other potential users than me), but this is my vision :p

Sorry for my poor English. >.




error access when uploading large file - acrylian - 23-01-2012

Are you sure that the upload limit your has really been raised? Sometimes servers "lie" about settings. Try another image maybe.




error access when uploading large file - kushu - 23-01-2012

Ok, i've found the problem:
With 'upload-max-filesize' There are another variable to fix : 'post_max_size'
http://www.php.net/manual/en/ini.core.php#ini.post-max-size
it could help other users

thanks




error access when uploading large file - acrylian - 23-01-2012

Indeed, easily forgotten (I did as well...).