1 of 2
1
CP problems
Posted: 11 May 2008 05:00 PM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  155
Joined  10-24-2002

Notice: Trying to get property of non-object in /home/gladman/public_html/blog/system/cp/cp.publish.php on line 4973

Notice
: Trying to get property of non-object in /home/gladman/public_html/blog/system_/cp/cp.publish.php on line 4973

Any idea what this error at the top of my control panel is?  It just started happening a while back.

Profile
 
 
Posted: 12 May 2008 07:16 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23536
Joined  05-20-2002

It’s running into a problem with spellcheck, but I can’t see why it should.  What build/version are you running- and do you have any extensions installed?  And was this a direct consequence of an upgrade?  (Might shift to tech support if it doesn’t look like an upgrade issue per se- my first bet is an extension.)

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 12 May 2008 08:15 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  155
Joined  10-24-2002

I just upgraded to the latest 1.6.3, and only have the replace install installed.  It WAS doing it before, and I hadn`t touched my installation in years.  Just came out of the blue.

Profile
 
 
Posted: 12 May 2008 08:49 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23536
Joined  05-20-2002

Hm- I’d have thought the upgrade would address any issues like this.  Try this- ftp in, go to system/core/core.spellcheck.php- delete the file, then upload a clean copy.  Does that help?

If not- I’d create a new template, turn php parsing ‘on’ and put the following code:

<?php
           
if ( ! class_exists('Spellcheck'))
        
{
            
require '/www/full/path/to/system/core/core.spellcheck.php';
        
}
        
        $this
->SPELL = new Spellcheck();

if (
$this->SPELL->enabled === TRUE)
{
echo 'good';
}
else
{
echo 'bad';
}

?>


Edit the ‘require ‘/www/full/path/to/system/core/core.spellcheck.php’;’ bit so it uses the full path to your core folder.  What’s that give us?

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 12 May 2008 11:49 AM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  155
Joined  10-24-2002

need a bit more help…the new core.spelling didn`t help, same error.  I created a template called test, but don`t know where to turn on php parsing.

Profile
 
 
Posted: 12 May 2008 02:53 PM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15408
Joined  05-15-2004

You can turn that on in CP ›  Templates ›  Template Preferences. Does that help?

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 14 May 2008 02:19 PM   [ Ignore ]   [ # 6 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  155
Joined  10-24-2002

Can you be more specific?  I can’t see where to turn on php parsing.

Profile
 
 
Posted: 14 May 2008 02:29 PM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15408
Joined  05-15-2004

You go into the control panel, click “Templates”, then choose the appropriate template group, and click “Preferences”. You’ll see a number of options for every template, including “Allow PHP?”.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 14 May 2008 04:51 PM   [ Ignore ]   [ # 8 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  155
Joined  10-24-2002

ok I’ve enabled php for my file I called test.  When I try to access the file, blog/system/rob/test, it goes to my main page!

Profile
 
 
Posted: 14 May 2008 05:49 PM   [ Ignore ]   [ # 9 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12395
Joined  04-29-2002

Tim, the link you’re expecting to work wouldn’t have /system/ in it.

If you click on the word View next to your new template, it should load it.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 15 May 2008 05:18 PM   [ Ignore ]   [ # 10 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  155
Joined  10-24-2002

oh hi Sue…

Here’s what happens when I click view

You have exceeded the allowed page load frequency.

Profile
 
 
Posted: 15 May 2008 05:51 PM   [ Ignore ]   [ # 11 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12395
Joined  04-29-2002

You can turn that off. smile

EEDocs: Throttling

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 16 May 2008 05:44 PM   [ Ignore ]   [ # 12 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  155
Joined  10-24-2002

ok I am still getting the error message at the top of the control panel….can someone help me with this problem?

Profile
 
 
Posted: 18 May 2008 09:40 AM   [ Ignore ]   [ # 13 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23536
Joined  05-20-2002

Tim- sorry you keep hitting us on the weekends!  Did you get the debug code working?  Should have output either ‘good’ or ‘bad’ as a hint.  It’s just a test- isn’t going to fix anything.  Would just give us a hint as to why the cp is breaking.  It shouldn’t be- but I can’t spot any other reports of it, so it’s odd.

When you check the output of the test page- can you also check ‘Admin- Utilities- PHP Info’- let us know what php version you’re running?

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 20 May 2008 07:10 AM   [ Ignore ]   [ # 14 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  155
Joined  10-24-2002

I am wondering if this extension:
ext.publish_form.php
has something to do with the problem.  I removed it, but now I can’t publish.  Why isn’t it included in the install package?  Do I need it then (it seems so).

Help!

Profile
 
 
Posted: 20 May 2008 07:18 AM   [ Ignore ]   [ # 15 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23536
Joined  05-20-2002

Well- it does interact with the publish form, so it’s possible.  Try this- put the file back- then go to ‘Admin- Utilities- Extension Manager’- and in the top corner, click ‘Disable’ to disable all extensions.  If you do them as a collective rather than individually, shouldn’t lose any settings.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 20 May 2008 07:43 AM   [ Ignore ]   [ # 16 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  155
Joined  10-24-2002

no error now, so it’s the old extension causing trouble.

Profile
 
 
Posted: 20 May 2008 07:54 AM   [ Ignore ]   [ # 17 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23536
Joined  05-20-2002

Brother- I should have spotted that long before now.  It is a first party extension and it’s still available for download, so I’ll give the crew a ‘heads up’ on the issue.  Can’t see why it would jam the spellcheck, but apparently it is.  Are you good with disabling it- it basically reverted the publish page to an older style.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 20 May 2008 09:18 AM   [ Ignore ]   [ # 18 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  155
Joined  10-24-2002

No problem…I installed it in the past because I liked having everything on one screen for my smartphone to be able to handle the page.  I’d still like to see everything I want on one page…categories, ping servers…a smaller body window…is it possible? question

Profile
 
 
   
1 of 2
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64978 Total Logged-in Users: 33
Total Topics: 82017 Total Anonymous Users: 14
Total Replies: 440827 Total Guests: 165
Total Posts: 522844    
Members ( View Memberlist )