| cipio | so my old pages don't link -- they were foo.com/about_us -- now i am forced to use foo.com/wordpress/about_us to see it |
| rhandom2 | well you can adjust all in the database using pma if you already did the install |
| cipio | suspected apache, but it is not there |
| rhandom2 | wp options table as I recall |
| cipio | from the web interface, is there an option? |
| cipio | already did the install . . . yes |
| rhandom2 | well often people can access phpmyadmin from cpanel or plesk... or directly |
| rhandom2 | pma = phpmyadmin |
| cipio | i just use mysql from bash, but i think i can change this in settings . . .hold on |
| rhandom2 | well from bash you could as well... never do myself as I am not that good @ MySQL command/queries just yet.. |
| rhandom2 | in settings you can as well yeah |
| cipio | got it -- i just changed the site url in settings, thanks for steering me! |
| rhandom2 | sure you're welcome |
| cipio | hmm . . so it all looks right in wordpress panel |
| rhandom2 | Now I need to get some help adding a upload field to a plugin to upload images ... anyone ideas why http://pastie.org/969052 does not work? |
| rhandom2 | @ cipio ? |
| cipio | but when i go to http://27.28.288.22/about_us i get an apache error |
| rhandom2 | well then some paths are still off... use pma |
| cipio | what is pma? |
| rhandom2 | phpmyadmin |
| nkuttler | .codex moving wordpress > cipio |
| doc-bot | cipio: http://codex.wordpress.org/Moving_WordPress |
| rhandom2 | and or check error log |
| rhandom2 | link added talks about pma or phpmyadmin as well |
| rhandom2 | http://codex.wordpress.org/Moving_WordPress |
| rhandom2 | .htaccess might have to be adjusted as well |
| rhandom2 | base url |
| cipio | ahh . . . thanks -- hold on |
| rhandom2 | Anybody any experience with adding an (image) upload field using WP image uploader functionality to a plugin in here? |
| rhandom2 | Sample code that works? Trying to add it to datafeeder random adds.. no luck and no more clues... |
| ivan__ | Warning: filemtime() [function.filemtime]: open_basedir restriction in effect. File(/home/www/cashflow/www/sitemap.xml) is not within the allowed path(s): (/home/users1/h/hedy/:/usr/local/lib/php/:/tmp/) in /home/users1/h/hedy/domains/cashflow.lutsk.ua/wp-content/plugins/google-sitemap-generator/sitemap-ui.php on line 595 |
| ivan__ | how to fix a bug? |
| cipio | still not able to get to foo.com/about_us |
| cipio | re-generated my .htaccess file |
| cipio | database looks good for wp |
| cipio | but still getting 404 error |
| cipio | my old site had a wordpress 404 as well . . . |
| cipio | instead of the default apache folder .. . suspecting apache at this point . . . |
| lht | Hi all, The my_func will be executed everytime a post is saved denoted by the action: add_action('save_post', my_func); If the author is updating a post, my_func() will also executed. Is there any way I tell that a post is being updated and I can prevent my_func() being executed. Thanks. |
| cipio | pretty simple what is going on here . . . [Thu May 20 12:07:43 2010] [error] [client 84.36.54.285] File does not exist: /var/www/wordpress/about_us |
| cipio | so i think this is a symlink issue |
| cipio | so only the home page is loading |
| rhandom2 | @ cipio did you upadte siteurl in wp options? |
| rhandom2 | as well as home? |
| cipio | yes -- siteurl is updated in wp options |
| cipio | what do you mean by home? |
| rhandom2 | option id 38 |
| rhandom2 | http://localhost/wordpress2 for me locally for example |
| rhandom2 | two fields that need changing in wp options |
| cipio | that value is correct |
|
|
| cipio | the option_value is correct |
| rhandom2 | and htaccess ok? |
| rhandom2 | I hardly ever have symlinks issues |
| cipio | checking to see if mod_rewrite is enabled |
| cipio | pretty simple what is going on here -- /var/www/wordpress/about_us doesn't exist |
| cipio | don't know how wp handles routing, but it is not routing at all |
| cipio | so i am guessing apache has the problem |
| rhandom2 | are permalinks used? |
| cipio | rhandom2 not sure what your question is |
| rhandom2 | did/does ur wp install use pretty urls? |
| cipio | didn't specify that |
| cipio | worked on my old server |
| rhandom2 | site is online now to be viewed? |
| cipio | http://69.164.218.233/ |
| cipio | yes |
| rhandom2 | well you seem to be using permalinks |
| rhandom2 | wp-admin works |
| cipio | yes -- so what do i need to enable |
| rhandom2 | please paste .htaccess @ http://wordpress.pastebin.com/ |
| rhandom2 | and paste link here |
| rhandom2 | would liek to see it |
| cipio | http://wordpress.pastebin.com/P8JE4ZEs |
| rhandom2 | wp options permalink structure I often use is /%year%/%monthnum%/%day%/%postname%/ what is yours in wp options? |
| cipio | http://69.164.218.233/2010/05/sample-post/ |
| rhandom2 | you can check permalinks in post using post editor as well btw |
| rhandom2 | and so you use http://69.164.218.233/ as url in wp optiosn now? |
| cipio | yes |
| cipio | the problem is apache is not routing . .. i think there is a mod i need to enable |
| rhandom2 | well check if mod rewrite is running / installed |
| cipio | don't think it is |
| rhandom2 | if you have ssh access you could |
| cipio | i'm on the server now, just want to find an example of how someone has set this up with the virtual hosts file |
| rhandom2 | @ cipio http://ubuntuforums.org/showthread.php?t=255556 |
| cipio | a2enmod rewrite <-- fixed everything, thanks |
| rhandom2 | you're welcome |
| cipio | off to real work . . . have a great day and thanks |
| WDS-Brad2 | sivel ansimation you ready for the new after party pics? |
| ioricloud | algum brasileiro |
| ioricloud | hehe |
| rhandom2 | Of Nederlanders die kunnen helpen met toevoegen afbeelding upload veld in bestaande plugin....? |
| rhandom2 | Anybody any experience with adding an (image) upload field using WP image uploader functionality to a plugin in here? |
| rhandom2 | Come on people... just need a little boost here... pretty please .. http://pastie.org/969052 is the code I added to datafeedra radnom adds plugin, but it does not open an upload box yet.. |
| rhandom2 | I am wondering why not.. no php or apache errors so I guess coding is ok, but just does not work.. |
| rhandom2 | This is my first attempt at hacking a plugin... just wanted to add an image upload field. field is there now, but does not work |
| rhandom2 | maybe the scripts needed are not enqueued and or registered properly... but what is wrong? |
| jguldahl | I am trying to log in to the WP control panel, but I am just redirected back to the login page (the password is right, I even reset it) - any ideas? |
| jguldahl | if I manually type in domain.com/wp-admin however, it works |
| jguldahl | never mind, figured it out. :) |
| rhandom2 | Well I guess no one here available for help with plugin customization now. Will check back later |
| mikronaz | hey, is it posible to show posts witch has two tags like: "hot, dog" |
| mikronaz | I am trying to make something like filter.. |
| nkuttler | .codex query posts > mikronaz |
| doc-bot | mikronaz: http://codex.wordpress.org/Function_Reference/query_posts |
| mikronaz | nkuttler, yeah, thats nice, I am talking about selecting one tag, saving it, then selecting other.. |
| nkuttler | huh? |
| beerkid | What would be a reason a post would say "missed schedule" |
| MadLemz | beerkid: http://tinyurl.com/2ec3ala |
| FirstSgt | is there a wordpress conditional that says if(is_a_custom_page_template_called('thecustompagetemplate')); |
| jonkristian | Hm, something appears to be very wrong with this validation, http://validator.w3.org/check?uri=http%3A%2F%2Ftaroretkjerring.no |
| jonkristian | Any ideas? |
| nkuttler | jonkristian: #html |
| jared^ | its because you are not encoding you & jonkristian |
| jared^ | & should be & |
| jared^ | even in urls |
| EnlightenMental | FirstSgt: if(is_template(home-page.php)) |
| EnlightenMental | & Vs & will destroy validation |
| nfreader | 24 queries in 3.133 seconds |
| nfreader | ... |
| nfreader | I think... something is broken |
| EnlightenMental | whos the host? |
| nkuttler | or high load |
| nfreader | GoDaddy |
| jared^ | thats your problem |
| jared^ | lol |
| nfreader | yeah, probably |
| EnlightenMental | yeah GD shared hosting is whack |
| nfreader | anything I can look at or try on my end? |
| EnlightenMental | nothing that will give a vast improvement |
| srikat | any recommendations for a plugin that will let me play .swf files in widgets? |
| srikat | should provide a wrapper player around the swf |
| srikat | w/ play controls |
| w3prodigy | morning channel, curiosity has struck me again.. does the WP login handle anything in regards to whether the user has javascript enabled or disabled? having an intersting interaction with javascript disable in some tests |
| MadLemz | anyone know a good plugin for monitoring performance? such as recording total time to load page, queries, etc? |
| MadLemz | (think devel module for drupal) |
| sha1sum | Hey all. I'm working on a recipe site (to put it simply) and have made it to where users post only on the front end and are locked out of the wp-admin section. My clients now want me to add in the ability to do draft posting and scheduled posting from the front end. I'm sure I can do this, but after the user creates the post, they are presented with an image management page where they can upload and attach images to the post from th |
| ferik | My wordpress admin "Edit Post" list only shows posts one at a time suddenly. So one page per post instead of 10 or whatever. This problem is only in the admin pages. Any idea? |
| MadLemz | Super simple plugin (6 lines) doesn't seem to be working. see what's wrong? http://pastebin.com/sZs7F493 |
| MadLemz | ferik: What did you do last before it started happening? |
| nkuttler | .codex adding admin menus |
| doc-bot | nkuttler: http://codex.wordpress.org/Adding_Administration_Menus |
| w3prodigy | instead of wpmu-admin.php try options-general.php |
| MadLemz | tried that (even though it's not where i want the link) - but still nothing. i have this file in mu-plugins btw if that matters |
| ferik | MadLemz: restored from archive & db backup |
| MadLemz | you sure there ARE more posts than just the 1? :P |
| ferik | MadLemz: quite |
| ferik | MadLemz: it says All(167). Says displaying 1-15 of 167 but only shows 1 |
| MadLemz | i'm an idiot. i never call my function >< |
| MadLemz | now it works perfectly :D |
| sha1sum | Okay... I have a humdinger for you guys. And I don't use the word "humdinger" often. |
| sha1sum | Again, same recipe site... The image upload works perfectly, and all images display fine, but my clients now want the ability to select which image displays first. |
| sha1sum | Right now, the images pull up in the default WP descending chronological order. |
| sha1sum | So how can I customize the way the image attachments are ordered? |
| srikat | any plugin that adds a widget to add player with controls for playing a .swf file |
| srikat | ? |
| sdwrage | Hey all |
| sdwrage | how does one add a page without adding it to the menu? |
| cHiKNPad | you can use a plugin to exclude pages or you can edit your list pages to exclude them |
| cHiKNPad | .codex list_pages |
| doc-bot | cHiKNPad: http://codex.wordpress.org/Template_Tags/wp_list_pages |
| cHiKNPad | http://codex.wordpress.org/Template_Tags/wp_list_pages#Exclude_Pages_from_List |
| libertiy | could someone please share with me working NGINX rewrite rules for wordpresS? |
| libertiy | i tryed several i found online none seem to work |
| libertiy | it should just do domain.com/page/subpage/thirdpage prefferable |
| libertiy | no index.php and no 404 errors which i get everytime |
| libertiy | i had it working with site.com/index.php/page wich is plain ugly |
| libertiy | nobody uses wordpress with nginx hrere? |
| sivel | libertiy: I do |
| libertiy | ive searched for long time and tried like 5 of them all not working :( |
| libertiy | could you please share yours if they work? like site.com/page/subpage/thirdpage |
| srikat | hey sivel |
| sivel | libertiy: sure, let me give you a stripped down version of my entire vhost config for one of my sites |
| sdwrage | cHiKNPad, what plugin is good for it? |
| libertiy | i have it working but with index.php/pagename i wonder if it would be able to remove the index.php |
| libertiy | sivel: would be great thx man, you would make my day |
| srikat | cHiKNPad: hey |
| sivel | libertiy: here is my vhost config: http://wordpress.pastebin.com/mKK0WvAc |
| sivel | libertiy: then in addition to make WordPress believe I have mod_rewrite since I am not running Apache I do: add_filter('got_rewrite', '__return_true'); |
| sivel | in my themes functions.php |
| sivel | but that last step is not necessary, you can simply just remove index.php from the permalinks on Settings->Permalinks |
| fern_42 | Howdy y'all. Anyone know a simple way to create an online demo of a plugin? |
| libertiy | thanks a lot sivel that works indeed :) thx! |
| EnlightenMental | .plugin subscriber account cancel |
| fern_42 | uh, besides just running it on my site |
| doc-bot | EnlightenMental: http://wordpress.org/extend/plugins/s2member/changelog/ |
| srikat | fern_42: use camsudio or jing to capture the plugin in action |
| EnlightenMental | .plugin allow user to cancel |
| doc-bot | EnlightenMental: http://wordpress.org/extend/plugins/search.php/page/2%3Fq%3Dswitcher%26sort%3D |
| srikat | fern_42: cam studio* |
| fern_42 | srikat: not a bad idea. But, it needs to be a working demo |
| srikat | does anyone know a video plugin lets me display swf in a widget (need player controls) |
| sivel | srikat: hello btw ;) |
| sivel | fern_42: some people setup a demo site and have the plugin working there |
| fern_42 | yeah... the idea is to not have to dedicate a site to it either |
| fern_42 | but that's a good idea too |
| fern_42 | I guess this isn't normally done then? |
| EnlightenMental | so if /pulic_html/wp-content/themes/theme_folder/ are all 775 permissions, and i still cant edit theme files through the back-end... where do i look next |
| srikat | correct, no one expects to see a "live plugin" |
| srikat | before they download/buy |
| sivel | fern_42: not really, generally most people either offer screenshots or screencasts, or they "use" the plugin in the page/post describing it |
| sivel | on rare occasion you will see a demo site |
Popular searches: