My photos become blank images when uploaded
I am currently working on a website for a student organization that takes lots of photos. It was a common consensus that everything taken should be uploaded to the website so that people could download the ones they liked. I recently uploaded the first file of pictures; the computer said successfully, but no thumbnails were generated and anytime I go to view them, they appear as blank white boxes. I have checked the allowed formats and do not know what else to do.
Thanks for any help, I am really up a creek without a paddle at this point.
Can you supply a bit more info on what is happening.
Are the images blank in file manager?
What size are the image files?
Do the file sizes of the uploaded files match the originals?
A step by step description of what you are doing.
May the 'files'-dir including subdirs don't have write permissions.
So I open the site, go open the file manager, click upload multiple files. I highlight the pictures I want, and click upload. The files all "upload". In file manager, I see all of the file's information, file type, size etc, but no thumbnail. I click on the file, click view, and it brings up a view window with nothing in it, just a blank white screen.
Image files are around 2 megabytes, sizes in the editor match that of the original.
Thanks for the support.
Are the images JPGs?
Yes the images are all jpegs.
I'm wondering if the upload script is timing out before the large image is fully uploaded.
Changing permissions to 777 & the rescan doesn't help.
In file manager thumbnails (even the samples from concrete5) are not showing and pictures on live site and in edit mode are not showing as well.
I am using chromium and firefox - both browser are not showing the pictures.
I am new to C5 and would appreciate a bit more "how to do for dummies". I also attached screen shots.
Here is a copy - maybe it helps.
# concrete5 Version
# concrete5 Packages
Google Tagcloud (1.5), Internationalization (1.1.7), Simple Image Gallery (1.1.3), tnSpacer (1.3).
# concrete5 Overrides
js/3ee3278a58b7b31a229a620dd4b375b5, js/d067080aacee62958c45c73bfe491837, js/b12e3b5122c7864404eab588a9d1d743, js/index.php, js/5cfda3394a364fe9ee82acf8ada6f911, js/cgi, js/69012db7887a3de5723e4d1040716954, libraries/platform.php, libraries/joomla, libraries/cms, libraries/phpmailer, libraries/phputf8, libraries/loader.php, libraries/index.html, libraries/simplepie, libraries/import.php, libraries/cms.php
# Server Software
# Server API
# PHP Version
# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dbase, dom, exif, filter, ftp, gd, gettext, gmp, hash, iconv, imap, json, ldap, libxml, mbstring, mcrypt, mhash, mime_magic, mysql, mysqli, ncurses, odbc, openssl, pcntl, pcre, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, SQLite, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Optimizer, zip, zlib.
# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 10M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 10M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 200000
pcre.recursion_limit - 200000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
You might try renaming the '[root]/libraries/importer.php' temporarily and try uploading a new image. The importer.php file creates thumbnails (among other things)
In public_html/concrete/libraries I neither find an import.php nor an importer.php. In public_html/concrete/libraries/file I find the importer.php > Are you suggesting to rename this import.php? Just like importer_test.php?
In public_html/libraries I find an import.php. Not sure what to do.
Thank you for your help and patience.
In your 'environment' listing, there is a section called 'overrides'. These are all the files that C5 will use INSTEAD of the core files. The listing shows an importer.php in libraries/importer.php so I assumed that's where it was but perhaps the 'environment' function is off.
Yes, rename that file and see what happens. Remember to turn OFF the 'overrides' cache and then rename that file so that C5 will revert back to the core importer.php.
Cleard chache, rescanned a picture and uploaded new pictures. Same old problem.
I'll keep thinkin'
sorry to bother you, but I am getting desperate here. I am already starting to work around the problem by uploading pics to my blog and referring to the image URL at my website.
Still, no thumbnails to see and if I am looking up the image URL of the uploaded pictures I get an error: "Page Not Found
No page could be found at this address."
Attached a screenshot from the file manager stating the URL of the picture uploaded.
You might say it is a huge file, bu I also have a small icon in the file manger with only 64 KB and it won't show up either.
If I put a block with the pictures on the site they will not be shown (blank space) but mouse arrow changes when hover over it.
attached you will find three.
Again, I do not see one, even the sample pictures of C5.
None of the images under [root]/files are showing up, even your favicon. Can you go into your host's Control Panel -> File Manager and tell us what permissions are on the [root]/files folder?
pictures are stored at public_html/files + a lot of subfolder. All the folders are on 755 and the pictures themselves at 644. I changed a picture to 777 and still no success.
@maar: I had once joomla, that's correct. I removed/uninstalled it as provide from my host justhost.com. But still there are some folders/leftovers in the directory. Honestly I don't know which are from joomla, thus disruptive/unimportant and which one are important. That's why I did not deleted any folders in my root. How do I know which of them I can delete?
@mhawke: nothing changed when permissions are on 777
The import.txt is attached and you are right, it is JOOMLA
It should not be possible to install concrete5 in an already occupied database. But just in case - are you installing concrete5 in a e empty database.
All the things that I saw up to now is a concrete5 site that handles totally wrong. There is no logic in this. I personally have installed over 500 sites without any glitch. So there has to be something that interfere with your concrete5 installation!
I would also like to know what files you have in the /config folder
Go to my site by FTP would by my cPanel File Manager?
@maar... don't you think a completely new install is in order? There could be errors in the existing database tables.
As you can imagine I am worried to loose everything or screw it up
Start delete folders in your public_html folder, so you will end up with this:
After that you should enter every one of these folders and delete the content:
And then you have to tel us what you see in your /config folder
This was a case where numerous CMS's (Joomla, WP and LiveSite) were installed on top of each other. Each one added it's own files and it's own entries to the .htaccess file.
Lesson: Always install concrete5 into a virgin directory with a virgin .htaccess file.
Thank you guys for your support!
Glad we got it sorted out.
I am running Concrete5 Denmark and we get a lot of these questions..
I hope this will make an example to every one to be aware of the issue when trying out different CM systems.
This morning I upgraded and everything is running just fine. T
Maar, Mhawke - thank you for your support.
Then i started messing with the background and the theme....and i don;t know what happened, but now all my pics are gone! they'r not deleted, but simply not visible...if i try to download them on my computer, i can visualize them. if i upload them again...nothing...
it;s kind of urgent..