mparkes
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to display thumbnail image from wp_postmeta?Thanks esmi
I tried adding an include file to the head of my page for the thumbnail file:<?php include(“wp-includes/post-thumbnail-template.php”); ?>
but when I test my page I get the error:
Fatal error: Call to undefined function get_post_meta() in C:\xampp\htdocs\wordpress\wp-includes\post-thumbnail-template.php on line 37
Are there a lot of other wordpress files I need to include in my page to get this function to work? As I am desiging in dreamweaver outside of the wordpress backend, I have to make sure all the hooks are in place… working a littl in the dark here so thanks for any tips.
Forum: Fixing WordPress
In reply to: Help! My blog disappeared!Well I deactivated and reactivated the theme and that has helped, but now there is an error about “Validation Error: WPG2 plugin cannot validate the Gallery2 to WPG2 Relative Path /home/spfarm/gallery2/../wp/wp-content/plugins/wpg2/templates/wpg2imageblock.tpl”
My site was recently migrated to a new host and now I am thinking their path structure is different and the plug in can’t load. Theory anyway.
Forum: Fixing WordPress
In reply to: Help! My blog disappeared!My site is https://spfarm.com/wp
Forum: Plugins
In reply to: [Release] eShop Shopping Cart pluginOK Elfin I emailed my FTP to you – thanks
Forum: Plugins
In reply to: [Release] eShop Shopping Cart pluginElfin, thanks
I tried deactivating and also deleting the plugin, and then re-uploaded it and activated it and the duplicate products are still there.I even went into PHPMyAdmin and dropped the tables for eShop, deactivated the plugin, deleted it, reuploaded it and reactivated it, and the duplicate products are STILL there! If I dropped those eShop tables from the DB how in the world could the products still be listed?
At this point I would like to just have a FRESH install of Eshop with no previous data and then start from there to see if I still have a problem. I would be happy for you to FTP to my server… just need a way to get that info to you in a secure way.
Forum: Plugins
In reply to: [Release] eShop Shopping Cart pluginElfin… you know I think I realize now what has happened… but am not sure how to fix it. I had installed eShop a couple of weeks ago as a test, and at that time decided not to use it. Well I didn’t uninstall it normally (from the plug in page), I FTPd ot the site, and deleted the plugin folder and contents and deleted the extra pages that eShop had created. So I am guessing there were changes made in the database that were NOT removed, and after reinstalling, I wonder if that previous install of eShop has whacked things out as regards product counts.
If this is the case, what do you suggest I do? Would a proper uninstall of eShop and then a reinstall fix things? thanks!!!Forum: Plugins
In reply to: [Release] eShop Shopping Cart pluginElfin –
eshop v.2
WP 2.6
MySQL 5.0.27
PHP Version 5.0.4
My WP is an upgrade from earlier versions… haven’t had any other problems that I am aware of. eShop seems to be working fine in other aspects, but it keeps increasing the product counts every time I edit the page. Currently I am at:
43 products.
40 products in stock.
4 featured products.
0 purchases.And I only have 3 actual products on my blog for sale!
thanks for the help!!!
Forum: Plugins
In reply to: [Release] eShop Shopping Cart pluginI installed eShop and am finding that every time I make an edit to a post, it duplicates the product under eshop > products listing page. Is this the normal behavior?
Forum: Plugins
In reply to: A robot that I WANT to crawl my site is being blocked ?Yes, I am checking with them and will report back with more details. thanks
Forum: Themes and Templates
In reply to: Unordered list indents okay in body, but not around IMG?Thanks verabass and moshu
Moshu, you are right – it is working correcly in Firefox.
I tend to forget that css can behave differently depending on the browser (and I get lazy and just try to work it out in IE). UL tags are problematic, I think I’ll just try and rewrite the article without using UL /UL ! ??
Forum: Fixing WordPress
In reply to: Upload Photos MAJOR errorMelanierod, did you try the edits that I suggested? And it still doesn’t work? What kind of server are you on, is it Windows by chance? I think that’s what is causing my problems – the fact that I am on a windows host. But that is just a guess.
Anyway, I came across another error related to this issue, that has to do with editing your older blog entries on the admin section, if you go to “manage > posts” down at the bottom of the page there is a link for “Previous Entries”… well when I click that it kicks me right back to the admin start page, just like the photo gallery links were doing.
I’ll try and patch that too and post back here with a fix. Are you experiencing the same thing?
Forum: Fixing WordPress
In reply to: Upload Photos MAJOR errorI also ended up needing to edit
/wp-admin/include/upload.php
to allow the indovidual editing of each image appearing on the ‘Manage>Uploads’ page…added the following around line 312
…after the code that reads:echo “<ul id=’upload-files’>\n”;
if ( have_posts() ) : while ( have_posts() ) : the_post();
$href = wp_specialchars( add_query_arg( array(
‘action’ => ‘inline’ == $style ? ‘view’ : ‘edit’,
‘ID’ => get_the_ID())
), 1 );…add
$href=str_replace(“?”,”upload.php?”,$href);
Forum: Fixing WordPress
In reply to: Upload Photos MAJOR errorOkay, until someone a lot smarter than me can correct the real problem on this issue, here is a solution that works:
Open ‘upload.php’ in the ‘wp-admin’ directory
Find the line ‘$_href = clean_url( $href);’
Immediately after this line, add the following:
$_href = str_replace(“?”,”upload.php?”,$_href);
this adds the missing reference to ‘upload.php’ into the url string. Now the tabs for Browse, Browse all, for your photos should work.
Forum: Fixing WordPress
In reply to: Upload Photos MAJOR errorIn my continued effort to track down what is causing dashboard to load in the image gallery space, it seems that “upload.php’ is being stripped out of the url for each of the tab links, so that when you click on “Browse”, instead of the url being:
https://www.spfarm.com/wp/wp-admin/upload.php?style=inline&tab=browse&post_id=16
what is ctually being generated is:
https://www.spfarm.com/wp/wp-admin/?style=inline&tab=browse&post_id=16Therefore, this link is seen as a call to the default admin page, ignoring all of the querystring values.
So that explains what is happening… but it doesn’t explain WHY its happening.
I have dug around in the code for ‘wp-admin/upload.php’ and can see that the url string is being created as part of an array (?) but not being a php coder, I am somewhat at a loss to troubleshoot.Or… if someone could offer a fix to force the addition of ‘upload.php’ into the string…
thanks for any help!
BTW I am running WP 2.3 on a windows server.. and all other functionality of the site is working fine as far as I can tell… photo uploads are working fine… just this gallery pane seems broken… ??Forum: Fixing WordPress
In reply to: Upload Photos MAJOR errorI was able to successfully install the flickr plugin from tantannoodles, and finally got it working (at least my flickr galleries are showing up on the options page for the flickr plugin) – but when editing a post, if I try to click on ANY of the photo upload tabs (Upload, Browse, Browse all, Photos , Albums) it just loads the default admin page.