Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorMonsterkid
    • CommentTimeMay 21st 2008
     
    Hi!

    I have tried about 20 php gallerys on my webbserver and i get the same error all the time. The same with Plogger! help me!
    Allways when i try to upload pictures the upload.php or plog-import.php goes blank! and the images don't get uploaded. I have changed chmod to 777 and still same problem.. the error don't ocour when i try to upload small images like 100x100px.. plz what is the problem??

    HELP!
    •  
      CommentAuthorsidtheduck
    • CommentTimeMay 21st 2008
     
    Monsterkid,

    If I could guess, it would be that your server php.ini variables are causing the problems. It could be upload_max_filesize is set low (default of PHP installations is 2MB), max_execution_time is low and timing out, or memory_limit is low and the memory to run the script is filling up and not allowing it to finish.

    The Plogger script already tries to adjust the latter two variables within the script (sometimes it doesn't work depending on your host), but the first variable cannont be changed within a script (but it can be adjusted via php.ini, .htaccess files, or local php.ini files depending on your server. Can you let us know what server you are hosting on?

    To view what settings you have for the system variables, create a new web page file with the following code (and nothing else):<?php phpinfo(); ?>Upload and navigate to that page and it will list out all of the variables as well as all of the additional libraries installed with your PHP installation. Do a search on the page for the variables I mentioned above and it should tell you what the settings are.
    • CommentAuthorMonsterkid
    • CommentTimeMay 21st 2008
     
    my site is hosted by www.one.com
    i have done the php info thing.. but it dos not say anything about uppload max filesize.. or memory limit or execution time..
    Plogger is so nice.. so I vant to get it working on my server..

    I get this on the php info:


    System Linux srv66 2.6.12.6-vs2.0 #1 SMP Wed Oct 12 12:28:03 CEST 2005 i686
    Build Date May 2 2008 11:29:30
    Configure Command '/home/elmerot/php526/php-5.2.6/./configure' '--build=i386-linux' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=${prefix}/lib/php5' '--srcdir=.' '--disable-maintainer-mode' '--host=i386-linux' '--build=i386-linux' '--program-suffix=5' '--sysconfdir=/etc/php5' '--with-config-file-path=/etc/php5' '--enable-fastcgi' '--enable-force-cgi-redirect' '--disable-ipv6' '--enable-safe-mode' '--disable-rpath' '--disable-all' '--without-pear' '--with-mysql=/usr' '--with-mysqli' '--with-pcre-regex' '--enable-memory-limit' '--enable-inline-optimization' '--enable-session' '--enable-hash' '--with-zlib' '--with-gd' '--enable-gd-native-ttf' '--enable-exif' '--with-xpm-dir' '--with-gettext' '--with-ttf' '--with-jpeg-dir' '--with-png-dir' '--with-freetype-dir' '--enable-bcmath' '--with-xml' '--enable-libxml' '--enable-xml' '--with-iconv' '--with-t1lib' '--with-openssl' '--enable-ctype' '--with-kerberos' '--with-imap' '--with-imap-ssl' '--enable-wddx' '--with-xmlrpc' '--enable-xmlreader' '--enable-simplexml' '--enable-soap' '--enable-spl' '--enable-dom' '--with-xsl' '--enable-calendar' '--enable-json' '--enable-pdo' '--enable-mbstring' '--enable-tokenizer' '--with-pdo-mysql'
    Server API CGI/FastCGI
    Virtual Directory Support disabled
    Configuration File (php.ini) Path /etc/php5
    Loaded Configuration File /customers/boraskungfu.com/boraskungfu.com/config/php5.ini
    PHP API 20041225
    PHP Extension 20060613
    Zend Extension 220060519
    Debug Build no
    Thread Safety disabled
    Zend Memory Manager enabled
    IPv6 Support disabled
    Registered PHP Streams php, file, data, http, ftp, compress.zlib, https, ftps
    Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
    Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, zlib.*

    Can you or somone help me?
    •  
      CommentAuthorsidtheduck
    • CommentTimeMay 21st 2008
     
    I have a couple of observations, Monsterkid.

    1. One.com mentions that all their servers are running with safe_mode enabled. Plogger 3.0 Beta does not tend to work with safe_mode enabled that has to do with ownership and permissions of folders or files that are created from a PHP script. However, I have safe_mode enabled on my webserver and created a workaround using an FTP account. You will need to download and install the latest SVN to use the safe_mode workaround (which is quite stable at the moment).

    2. From your output above it says:
    Configuration File (php.ini) Path /etc/php5
    Loaded Configuration File /customers/boraskungfu.com/boraskungfu.com/config/php5.ini
    This looks like there is a system php.ini file at /etc/php5 (which you probably cannot get to), but it also looks like there is a local php.ini file located at /customers/boraskungfu.com/boraskungfu.com/config/php5.ini which should be accessible to you. Download that file, open it in a text editor, and see if any of the variables I mentioned above are within that file. If so, we can edit them. If not, we can add them.

    3. To view these variables (if they are not output with the phpinfo() function), create a new web page and add this code:<?php
    echo "upload_max_filesize = ".ini_get('upload_max_filesize')."<br/>\n";
    echo "max_execution_time = ".ini_get('max_execution_time')."<br/>\n";
    echo "memory_limit = ".ini_get('memory_limit')."<br/>\n";
    ?>
    • CommentAuthorMonsterkid
    • CommentTimeMay 21st 2008 edited
     
    First of all, Thx!
    second. I cant get to any php config files.. :(

    But are you saying that if i remove all the current plogger files on my server now and upload the latest SVN insted, it may work fine?

    EDIT:
    I get this

    upload_max_filesize = 12M
    max_execution_time = 30
    memory_limit = 16M
    •  
      CommentAuthorsidtheduck
    • CommentTimeMay 21st 2008
     
    Posted By: MonsterkidFirst of all, Thx!
    No problem! :D

    Posted By: Monsterkidsecond. I cant get to any php config files.. :(
    When you log in to your account via FTP, is there a folder called "/config/" at or above the level where you upload your website photos? I think that's where the php5.ini file lives on your server.

    Posted By: MonsterkidBut are you saying that if i remove all the current plogger files on my server now and upload the latest SVN insted, it may work fine?
    Well . . . before, even with updating the PHP variables, most likely it would not have worked for you. If you install the newest one, you will be able to get it to work (although without changing the variables, you may still be limited on filesize, etc.). I would start over and re-run the _install.php file from the new SVN trunk download (it *should* work so it doesn't save over any of your MySQL tables). That way it will ask for your FTP information since safe_mode is enabled.

    I hope I am explaining it well enough for you. :D
    • CommentAuthorMonsterkid
    • CommentTimeMay 21st 2008 edited
     
    well.. i'm no php or mysql axpert (no shit).. but i'm doing my best..
    I've now deleted all the tabels from the former installation of plogger from my database. I've uploaded the new files to my ftp at deleted all the former ones.. I run the _install.php and fill in all the fields and klick proceed. then the page get blank. end nothing happends.. i just see the Plogger 3 sign on the top.. but where the admin pass should be there is nothing.. just a white page.. i reload the page and the same shit happends again.. :'-(

    about the config folder.. are you talking about a config in the plogger directory? in my ftp ROOT there is no config directory..

    EDIT:
    There is no config folder in the plogger directory.. i just discovered.
    •  
      CommentAuthorsidtheduck
    • CommentTimeMay 21st 2008
     
    If there is any way I could get FTP information from you, I can take a look. Send me an email to the email listed in my profile.
    •  
      CommentAuthorsidtheduck
    • CommentTimeMay 21st 2008 edited
     
    Thanks for the screenshots. I guess 1.) we'll have to try the .htaccess PHP values to see if they work and 2.) I don't know about the blank screen (this is after you clicked Proceed, correct (and Proceed was on the page you entered all the information on, right)? Do you still have the page up and if so, can you view source and copy+paste it here? Can you login via /plogger/admin/ or verify if the tables were created in your MySQL? It may have saved everything, but ran into a problem redirecting you to the admin login page.)

    EDIT: This is what I have in my .htaccess file to change the php variablesphp_value upload_max_filesize 16M
    php_value max_execution_time 300
    php_value memory_limit 64M
    Make sure they are on separate lines and have a space after them (in case another script writes additional information to your .htaccess file).

    EDIT2: I just re-installed Plogger from the current SVN on an existing test site where I deleted the tables (but not the database) and ran into no troubles. Sorry I couldn't create the same issue you are having.