Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Forum: Fixing WordPress
    In reply to: WP_Query
    Thread Starter fjoesne

    (@fjoesne)

    misuse of loop..
    solution:

    $pages = new WP_Query($criteria);
    if ( $pages->have_posts() ) {
    	while ( $pages->have_posts() ) {
    		$pages->the_post();
    			echo '<a href="'.get_page_link().'">'.get_the_title().'</a><br>';
    	}
    	wp_reset_postdata();
    } else {
    	echo "No match..";
    }

    did you ever find a solution to this? i have the same problem, but during the install of wordpress. something tells me that this has something to do with safe mode. But again i am not able to turn it off due to the restrictions set by my provider. i have another site working within the same limitations.. but i have no idea what is different between them.

    Thread Starter fjoesne

    (@fjoesne)

    Thank you for a very thorough explanation!

    I do understand the basic principle of chmod, groups and users.
    This issue came to my doorstep once again when i tried migrating a webpage from one server to another, only changing the owner and group with the same permissions as on the previous server. Off course, some issues are expected to arise, this was one of them. and i have been in touch with it before (hence the frustration), but i have never found a good explanation.

    Last night i surrendered to reinstalling from scratch and rebuilding the site completely (except the database). This would normally not be an issue but i have to make some minor tweaks and changes in some of the files to make the site look like i want it to.
    This method takes a lot of time and causes a lot of downtime.

    So, my point here is that if i can make this work by doing a fresh install, why could not wordpress contain a feature that detects any permission issues post installation?

    Anyway, clearly there is a permission issue in my case, I have not thought about inheritance (as explained in your link) and that would probably have fixed it. But now it is to late, i already installed a fresh (and unspoiled) wordpress and the issue nearly resolved itself. however i still have no clue where the cause is. the permissions in the folders look exacly the same as before, because plesk nor my rather restricted shell can tell me about the sticky-bit or inheritance.

    I still had to work-around the tmp folder problem to du an update/upgrade, where i had to specify the full path to it with define(‘WP_TEMP_DIR’,’/var/www/vhosts/mysite/httpdocs/tmp/’); and manually change the permission to the upgrade folder in wp-content to do upgrades, but it works again now. The annoying part is not knowing where the cause of the problem was :/

    thanks again..

    Thread Starter fjoesne

    (@fjoesne)

    That is what I am doing.. even when i check the “limit metadata” box i have the problem. I have to manually remove all metadata from the imagefiles through file properties, before I upload them. It’s one thing that wordpress can’t handle metadata, but I wish someone could make some sort of error regarding it. Right now its uploading the images, but refuses to add them to the database, so that i have loads of images i have to manually remove from the upload folder. I guess all this has to do with PHP-GD, there should be some sort of workaround, or fix for this ;(

    Thread Starter fjoesne

    (@fjoesne)

    Yes. i tried that one too, but no improvement.
    I keep thinking that it has something to do with EXIF or metadata in the jpg file. I had that problem last year. I ended up using some strange plugin for lightroom to make it export the images without any metadata. Again, that was a year ago. Surely such good webapp as wordpress would make it possible to upload pictures with metadata!? A lot of people use Iphoto or such and I have the same problem there.. I cannot imagine that this is the problem because there should be a lot more posts about this issue if that was the case alone..

    Forum: Fixing WordPress
    In reply to: Max image size?!
    Thread Starter fjoesne

    (@fjoesne)

    I’ts because of metadata in the pictures! The library management cant handle the metadata and therefore fails. This might be the way lightroom handles the metadata but I would still think that this was a bug to look into ?? Especially because i would like to use the metadata for my photoblog.

    AWH MAH GAWD! i’ve been struggling forever with this! it seems the library thing was unable to do anything with the pictures unless i stripped them completely of metadata ??

    Forum: Fixing WordPress
    In reply to: Max image size?!
    Thread Starter fjoesne

    (@fjoesne)

    btw, why should theme restrictions set the restrictions for the media library? that makes no sense ??

    Forum: Fixing WordPress
    In reply to: Max image size?!
    Thread Starter fjoesne

    (@fjoesne)

    yes.. but no change ??

    Forum: Fixing WordPress
    In reply to: Max image size?!
    Thread Starter fjoesne

    (@fjoesne)

    and yes, ive tried setting $GLOBALS[‘content_width’] = 1920; into the theme’s function.php but no change ??

    Thread Starter fjoesne

    (@fjoesne)

    Thanks for the tip, however I have tried this too. I never really figured out what the problem was exactly but after I reinstalled everything (including databases) it worked. ??

Viewing 11 replies - 1 through 11 (of 11 total)