Featured Content Gallery | WordPress Plugin | iePlexus

get_post_meta doesn't gets the URL!

New releases, ideas for the future, and known issues

get_post_meta doesn't gets the URL!

PostBy Mariosagt on Wed Mar 31, 2010 6:03 am

Hi,
at first, I want to say: I LOVE FCG!
I tried out so much themes (f.e. Slidette, Gemer) to get this functionality, but I was never satiesfied. With FCG I went back to my Atahualpa Theme and was so happy with my blog, that I finetuned it with personal style and graphics - and love it now. I was almost finished and "at home" if you know what I mean. Almost Completely satisfied.
But - unfortunatly.. suddenly, after some very small further finetuning FCG stopped working, without that I have a clue WHY.

My problem:
FCG only shows the background.. and the text maybe.
No Images anymore!
I already tryed this:
- Changing back to "default" Wordpress Theme
- Disabling EVERY Plugin but FCG (There are 31 alltogether, incl. FCG)
- Checked and risen File-Rights up to 777

I also discoverd already:
It seems that the Function
<img src="<?php $key="articleimg"; echo get_post_meta($post->ID, $key, true); ?>"
doesn't delivers the URL.

I surfed to my Blog, and looked at HTML-Source-Code (by Opera with CTRL-U).
There I got this:
<img src="" alt="" class="full" />
<img src="" alt="" class="thumbnail" />
So I tryed to insert URL manually and clicked on "Use Changings" <- (maybe called "Apply" in english)
and Opera-Browser showed a WORKING FCG!!!

So I guess it's not really a FCG Problem, but I hope someone can help me!

My Blog is
http://www.mariosagt.de/blog
FCG is actually installed, but NOT SET UP on Front Page!
But at every 404 Page you can have a look at it.
f.e. http://www.mariosagt.de/blog/xyz you can have a peek.


Thanks in advance

Mario
User avatar
Mariosagt
 
Posts: 9
Joined: Wed Mar 31, 2010 5:19 am

Re: get_post_meta doesn't gets the URL!

Thank you for using the Featured Content Gallery Forum
 

Re: get_post_meta doesn't gets the URL!

PostBy Mariosagt on Wed Mar 31, 2010 7:01 am

BTW: I didn't mentiod above.. but of course "articleimg" Tag is set correctly.
User avatar
Mariosagt
 
Posts: 9
Joined: Wed Mar 31, 2010 5:19 am

Re: get_post_meta doesn't gets the URL!

PostBy Mariosagt on Wed Mar 31, 2010 7:56 pm

I did some more "research" and could learn the following:

If I change line 70 of gallery.php
<img src="<?php $key="articleimg"; echo get_post_meta($post->ID, $key, true); ?>"
for testing purposes to
<img src="<?php $key="articleimg"; echo 'http://www.mariosagt.de/blog/wp-content/uploads/dsds2703-thomas-raus1.jpg'; ?>"
then the FCG shows the pictures and slides as it should do.
Of course everytime with the same picture.

I also checked my Database with myPHPadmin.
There are >70 Articles _with_ the Tag "articleimg" in meta_key - and all with a correct Link.
The Fields meta_id and post_id are both bigint(20), meta_key is varchar(255) and metavalue ist longtext.
Should be all correct.
I doen't understand why it is not working.

Also I tried another wordpress test installation on the same server. There is FCG running without any problems!
User avatar
Mariosagt
 
Posts: 9
Joined: Wed Mar 31, 2010 5:19 am

Re: get_post_meta doesn't gets the URL!

PostBy admin on Thu Apr 01, 2010 11:51 am

try to disable all other plugins to exclude plugin conflict
try to change the theme to default to exclude theme conflict
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: get_post_meta doesn't gets the URL!

PostBy Mariosagt on Thu Apr 01, 2010 5:48 pm

admin wrote:try to disable all other plugins to exclude plugin conflict
try to change the theme to default to exclude theme conflict


Hi, thank you for assisting me.
As already mentioned above I already did this.

Mariosagt wrote:FCG only shows the background.. and the text maybe.
No Images anymore!
I already tryed this:
- Changing back to "default" Wordpress Theme
- Disabling EVERY Plugin but FCG (There are 31 alltogether, incl. FCG)


But..
I guess, it is not really a FCG Bug. I guess it is more a Bug of WP or Database.
To try to help myself I already did this:
- Database Repair by WP-DBManager Plugin
- Made a MySQL Dump Backup, created a new DB and restored the Backup into new DB.
The new Database worked, but it didn't solved the problem.

I am really confused.. don't able to understand why it won't work.
Actually I found another Slider-Plugin. But I would prefer using FCG,
as it was my first slider-plugin and I love the way to configure it.

Best Regards, Mario
User avatar
Mariosagt
 
Posts: 9
Joined: Wed Mar 31, 2010 5:19 am

Re: get_post_meta doesn't gets the URL!

PostBy admin on Fri Apr 02, 2010 10:09 am

can you show me your site with default theme(do not forget gallery call in it), and all other plugins disabled?..I still think plugin makes the conflict..especially prettyphoto and nextgen
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: get_post_meta doesn't gets the URL!

PostBy Mariosagt on Mon Oct 11, 2010 1:12 pm

Hi Admin :mrgreen:

As you maybe discovered, I gave it up for a while... (because)
In April I couldnt fullfill your Request (from april) to disable every other plugin.
Now I already disabled every other plugin.
If you like to have a look anymore, you can have a peek now.
If not, please let me know, so that I can reactivate my other plugins soon :-)

My problem is exactly the same as in the past - and I would appreciate your help very much.
I just hope that its not a totally stupid user error (because that would mean that I am a stupid user :-) ), but maybe an bug that we all can learn from.
(Hope to tell it correct, as english isnt my first language)

Thanks, Mario

PS: Could it be, that my php_config denies the get_post_meta ?
for that case my phpconfig is missconfigured, I spend a php_info for you at http://www.mariosagt.de/ieplexus.php if you want to have a look.
User avatar
Mariosagt
 
Posts: 9
Joined: Wed Mar 31, 2010 5:19 am

Re: get_post_meta doesn't gets the URL!

PostBy Mariosagt on Mon Oct 11, 2010 1:41 pm

Hmm.. nice..
I just discover that since I disabled my plugins my website isnt working anymore - and re-enabling the plugins doesnt helps..
Now I(!) get only the same output as last time, new users get a download.gz ?!

edit:
Now all plugins are ENABLED again, I had to reconfigure .htaccess also.

Due to the disabling before I lost my wordpress-api key (omg.. what was my password there, to get it again..=/ )

So I just can tell you: FCG doesnt works even if I turn off all other plugins.
But disabling all other plugins hurts my website plenty..

Do you have any idea how you could help me?
Would a second installation of wordpress and FCG only on the same server, but on a different domain may be a good idea? I could give you complete access then with all admin rights for that domain..

..
User avatar
Mariosagt
 
Posts: 9
Joined: Wed Mar 31, 2010 5:19 am

Re: get_post_meta doesn't gets the URL!

PostBy Mariosagt on Tue Oct 12, 2010 3:02 am

GOOD MORNING ;-)

Today I am one step ahead.
Yesterday I was certain that the not working FCG is do to a server fault or config issue.

Today I installed a fresh wordpress without any plugins but FCG.
I activated it, placed FCG code
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
in the index.php above the loop
and wrote 3 articles.
See here http://www.shuttercount.de/blog

I was nicely surprised! It worked!

Now I installed ATAHUALPA Theme.
This theme allows to be configed by browser very deeply. I inserted the FCG code
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
by using the browser and ATUAHUALPA THEME OPTIONS -> Style & edit Center Column -> Content above the loop.
Even if there is usually php and html code inside,
THAT WAY didnt worked!
I got the same error/issue as on my http://www.mariosagt.de/blog

So I removed the FCG Code from ATAHUALPA THEME OPTIONS and placed it by SSH manually into the index.php.
Right as shown here:
Code: Select all
<------><?php /* This outputs the next/previous post or page navigation. ^M
<------>This can be edited at Atahualpa Theme Options -> Style & edit the Center column */^M
<------>bfa_center_content($bfa_ata['content_above_loop']); ?>^M
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
^M
<------><?php /* The LOOP starts here. Do this for all posts: */^M
<------>while (have_posts()) : the_post(); $bfa_ata['postcount']++; ?>^M
<------>^M


And finally, it worked also with ATAHUALPA Theme!

Normally I should be totally happy now - but as I made exactly the same changes to my mariosagt.de blog .. I failed again.. It isnt showing the pictures.

Now I am not sure, will try disabling some plugins and will tell what happened
User avatar
Mariosagt
 
Posts: 9
Joined: Wed Mar 31, 2010 5:19 am

Re: get_post_meta doesn't gets the URL!

PostBy Mariosagt on Tue Oct 12, 2010 3:23 am

admin wrote:can you show me your site with default theme(do not forget gallery call in it), and all other plugins disabled?..I still think plugin makes the conflict..especially prettyphoto and nextgen


I use these Plugins (bold plugins already disabled for testing with FCG)
Code: Select all
add-to-any...................
akismet......................
all-in-one-facebook-plugins..
all-in-one-seo-pack..........
asocial_bookmarks.........
author-info-widget........
daily-top-10-posts........
easy-adsenser.............
[color=#FF0000]featured-content-gallery..[/color]
feedstats-de
google-sitemap-generator............
mappress-google-maps-for-wordpress..
most-commented......................
[b]nextgen-gallery.....................
nextgen-imageflow...................
[/b]post-plugin-library.....
post-to-twitter.........
show-qr-url.............
statpress...............
stats...................
[b]Thumbnail For Excerpts[/b]
wassup.............................
wordpress-23-related-posts-plugin..
wp-23-statistics...................
wp-conditional-captcha.............
wp-dbmanager.......................
wp-postviews.....
wp-stats
[b]wp-super-cache
[/b]wp-super-edit
wpdb-profiling
[b]wp-touch[/b]   


Prettyphoto I dont use any longer.
Nextgen was already disabled.

I tryed also already the standard-theme Twenty-Ten.
But didnt get my FCG to work on mariosagt. :-(
User avatar
Mariosagt
 
Posts: 9
Joined: Wed Mar 31, 2010 5:19 am

Next

Return to Development, Improvement, and Conflicts

Who is online

Users browsing this forum: No registered users and 0 guests

cron