larryforlife
Forum Replies Created
-
Hi Ajay,
I apologize for the delay in responding. I just put header.php and index.php into snipt.org. I made them both private, and my twitter handle is LarrySchauerIPC. I’m not sure if they were checking in correctly though.Also, how will you be able to see the files?
Thanks,
LarryI just did this:
root@ip-10-0-2-45:/var/www/ipcglobal/wp-content/themes/ipc-global# cp index.php front-page.php
The homepage looks normal again, but the tracking code disappeared. What do you recommend?
Thanks,
LarryAnother update. I found part of the missing homepage (homefooter.php).
I added “<?php include (TEMPLATEPATH . ‘/homefooter.php’); ?>” to front-page.php, but it didn’t seem to do anything though. ??
root@ip-10-0-2-45:/var/www/ipcglobal/wp-content/themes/ipc-global# grep Seeing *php
homefooter.php: <h2>Seeing is Believing – Download QlikView Now!</h2>
sitemap.php:- Seeing is Believing
root@ip-10-0-2-45:/var/www/ipcglobal/wp-content/themes/ipc-global# grep homefooter *php
index_14_03_13.php:<?php include (TEMPLATEPATH . ‘/homefooter.php’); ?>
index.php:<?php include (TEMPLATEPATH . ‘/homefooter.php’); ?>Hi Ajay,
I copied front-page.php from the twentytwelve theme to the ipc-global theme. My snippet is now being inserted into the home page. The bad news is the home page looks a lot different from before. See for yourself:https://test.ipc-global.com
https://ipc-global.comI’m not sure what file to modify/move/etc to get it to work correctly.
Thanks,
LarryYou are correct: It is ipc-global. It looks like I don’t have either file in that directory:
srikumar@ip-10-0-2-45:/var/www/ipcglobal/wp-content/themes/ipc-global$ ls -al home.php
ls: cannot access home.php: No such file or directory
srikumar@ip-10-0-2-45:/var/www/ipcglobal/wp-content/themes/ipc-global$ ls -al front-page.php
ls: cannot access front-page.php: No such file or directoryI found wp-blog-header.php (which calls wp-load.php) and wp-load.php too.
srikumar@ip-10-0-2-45:/var/www/ipcglobal$ ls -al wp-blog-header.php
-rw-r–r– 1 www-data www-data 271 Mar 28 08:08 wp-blog-header.php
srikumar@ip-10-0-2-45:/var/www/ipcglobal$ ls -al wp-load.php
-rw-r–r– 1 www-data www-data 2359 Mar 28 08:08 wp-load.phpThe link you provided has a lot of things to check for. I’m not sure exactly what to check. I found front-page.php, but it’s under the twentytwelve sub-directory, so I don’t think it’s being used. I found index.php and confirmed that it is being used. Should I modify this? If so, then what should I add?
Thanks,
Larrysrikumar@ip-10-0-2-45:/var/www/ipcglobal$ find . -name front-page.php
./wp-content/themes/twentytwelve/page-templates/front-page.php
srikumar@ip-10-0-2-45:/var/www/ipcglobal$ ls -al index.php
-rw-r–r– 1 www-data www-data 418 Mar 28 08:08 index.php
srikumar@ip-10-0-2-45:/var/www/ipcglobal$ cat index.php
<?php
/**
* Front to the WordPress application. This file doesn’t do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*//**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
/*
define(‘WP_USE_THEMES’, true);/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );
*/
srikumar@ip-10-0-2-45:/var/www/ipcglobal$Thanks Ajay. I am checking into your request. I should have some info soon. I did find this though under “Manage Themes”:
The 2010 theme for WordPress is stylish, customizable, simple, and readable — make it yours with a custom menu, header image, and background. ipc-global supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the “Asides” and “Gallery” categories, and has an optional one-column page template that removes the sidebar.
So it looks like our theme was based on 2010.
Hi Ajay,
Although I’ve been using WordPress for two years, I’m not an expert, so I’m not sure if I understand your question. Also, I am new to this WP installation. We have a custom theme (ipcglobal).I found wp_head in header.php for the theme. Does this help?
/var/www/ipcglobal/wp-content/themes/ipc-global$ grep wp_head *php
header.php: <?php wp_head(); ?>If not, then let me know what to search for, and I will try to find it.
Thanks,
LarryForum: Fixing WordPress
In reply to: admin account lost certain dashboard featuresProblem solved! Praise the Lord! I will post details later (to help others in the future). Still fixing some things up on the website.
More progress (I think). I can’t seem to edit the PUBLIC pages. It only allows me to VIEW them. But I *can* edit the PRIVATE pages (I have several). Also, I created a new page (called “Testing123”), but it won’t like me publish it. This is strange, since I am admin.
I logged out of the dashboard, cleared cache/history, and logged back in, but no luck. Something seems to be wrong with my “admin” permissions.
Thanks,
LarryBreakthrough! At least I think so. I did the following:
Re-installed WP 3.5.2 from the dashboard. No change.
Restored database. No change.
Ran the force-upgrade.php script (found on another posting). Now I see MOST of my menu items!Still don’t see one for Widgets, and I can’t add new plugins though.
Ideas?
Thanks,
LarryI moved some files over:
$ mv jetpack ../plugins
$ mv index.php ../plugins
$ mv hello.php ../pluginsJetpack now appears as a menu item. I never used Jetpack, so I don’t need it. Good to have it appearing though. Here is my current dir listing (the old dir):
$ ls -al total 2120 drwx---r-x 20 acsingles inetuser 4096 Jul 10 13:56 . drwx---r-x 8 acsingles inetuser 4096 Jul 10 13:48 .. drwxr-xr-x 2 acsingles inetuser 4096 Feb 14 05:48 1-click-retweetsharelike drwxr-xr-x 2 acsingles inetuser 4096 Jun 20 17:19 akismet drwxr-xr-x 8 acsingles inetuser 4096 Jul 10 10:20 all-in-one-event-calendar.OLD drwxr-xr-x 4 acsingles inetuser 4096 Jul 12 2012 bookmarklet drwxr-xr-x 4 acsingles inetuser 4096 May 9 06:45 embedplus-for-wordpress drwxr-xr-x 3 acsingles inetuser 4096 Jun 6 2012 facebook-twitter-google-plus-one-social-share-buttons-for-wordpress drwxr-xr-x 6 acsingles inetuser 4096 Jul 10 09:09 hupso-share-buttons-for-twitter-facebook-google drwxr-xr-x 9 acsingles inetuser 4096 Jul 9 06:11 nextgen-facebook drwxr-xr-x 13 acsingles inetuser 4096 Jun 14 02:17 nextgen-gallery drwxr-xr-x 7 acsingles inetuser 4096 Apr 14 10:30 promotion-slider drwxr-xr-x 5 acsingles inetuser 4096 Jan 8 2013 r3df-meetup-widget drwxr-xr-x 4 acsingles inetuser 4096 Jul 5 18:15 really-simple-twitter-feed-widget drwxr-xr-x 3 acsingles inetuser 4096 May 27 2012 rss-importer drwxr-xr-x 6 acsingles inetuser 4096 Dec 18 2012 smallerik-file-browser drwxr-xr-x 6 acsingles inetuser 4096 Jul 9 06:11 social-gallery-lite -rw----r-- 1 acsingles inetuser 2082028 Jul 10 10:04 timely-all-in-one-calendar-1.8.zip drwxr-xr-x 4 acsingles inetuser 4096 Oct 19 2012 timely-updater drwxr-xr-x 7 acsingles inetuser 4096 Jul 12 2012 twitter-blackbird-pie drwxr-xr-x 10 acsingles inetuser 4096 Feb 5 02:44 wp-table-reloaded
Thanks @benjamin for the quick response!
I renamed the plugins directory, and I can login now without the error. Two steps forward!
I only have the following tabs though:
Dashboard
Media
UsersWhat do you recommend that I try next?