Support Forums

Error in admin

This is a discussion on Error in admin within the Technical Support forums, part of the Technical Support Forums category; I just attempted to edit a listing from a visitor and i got the following message. Warning: Invalid argument supplied ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 10-29-2009, 03:12 PM   #1
Junior Member
 
Join Date: Oct 2009
Posts: 7
Rep Power: 0
grimreaper is on a distinguished road
Default Error in admin

I just attempted to edit a listing from a visitor and i got the following message.

Warning: Invalid argument supplied for foreach() in /home/content/15/5076415/html/administration/listings.php on line 32

What does this mean?

Also, even though this visitor posted the ad, for some reason I am not able to find it in the frontpage, through search or browse... I do see it in my admin side.

I checked the listings.php file line 32 and I see this:
{
$Listings->changeDisplay($newstatus, $key);
}


Is there something wrong in this code?

Thanks! and I appreciate the strong support given here... 68class... ROCKS!

Last edited by grimreaper; 10-29-2009 at 03:18 PM.
grimreaper is offline  
Old 10-29-2009, 03:20 PM   #2
Coder
 
Join Date: Mar 2006
Posts: 4,927
Rep Power: 120
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Its always easier to offer help when we know exactly what version of 68C and what template you are using.

If you cant find a listing oin the front end then its likely because the order wasnt completed so the ad is not viible to the public. You can determine this by looking at the order status in admin.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 10-29-2009, 03:48 PM   #3
Junior Member
 
Join Date: Oct 2009
Posts: 7
Rep Power: 0
grimreaper is on a distinguished road
Default

I thought i had posted this under the 68c V4 threads. If i didnt, please excuse me.

The version is v4.

Heres the issues in question and an update on one of the issues:
__________________________________________________ ________

I just attempted to edit a listing from a visitor and i got the following message.

------ UPDATE-------
I think i might have just corrected the following situation. All i did was change permissions to 777 in all my administration files and folders.

Now, please tell me if this change might affect any other details or influence any other errors:

Warning: Invalid argument supplied for foreach() in /home/content/15/5076415/html/administration/listings.php on line 32

What does this mean?


Also, even though this visitor posted the ad, for some reason I am not able to find it in the frontpage, through search or browse... I do see it in my admin side.

I checked the listings.php file line 32 and I see this:
{
$Listings->changeDisplay($newstatus, $key);
}


Is there something wrong in this code?

Thanks! and I appreciate the strong support given here... 68class... ROCKS!
grimreaper is offline  
Old 10-29-2009, 03:56 PM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,303
Rep Power: 125
Eric Barnes is a jewel in the rough
Default

Are you getting this error from the listings grid page in admin or from when actually going to the listing edit form in the admin?
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 10-29-2009, 04:02 PM   #5
Junior Member
 
Join Date: Oct 2009
Posts: 7
Rep Power: 0
grimreaper is on a distinguished road
Default

I have stooped getting these errors by setting all my folder and file permissions to 777. Please let me know if this would affect in any way the normal behavior of the scripts or site perce.


Answering your question...
i got the error from when actually going to the listing edit form in the admin. also, i am using the admin template default.


------------------------------------------------

One last thing... How can I have the listings show the sellers contact telephone number even when the viewer is not logged in?
Ive looked throughout all my settings and cant seem to find it. the only thing I found is "User View Settings" where the display telephone number is set to: Yes. but when i look at the lisitng w/o being logged in, I cant see it... Only see it if I'm logged in.

Last edited by grimreaper; 10-29-2009 at 04:19 PM.
grimreaper is offline  
Old 10-29-2009, 04:55 PM   #6
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,303
Rep Power: 125
Eric Barnes is a jewel in the rough
Default

Changing the folder permissions shouldn't have had any effect on this. So it is a very strange error. I would recommend keeping a look and see if it happens again.

As for the telephone can you edit the "Guest" user group and see if it allows them to see it. That might be where the setting is coming from.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 10-29-2009, 05:02 PM   #7
Coder
 
Join Date: Mar 2006
Posts: 4,927
Rep Power: 120
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by grimreaper
I thought i had posted this under the 68c V4 threads. If i didnt, please excuse me.

The version is v4.
V4 is like saying you drive a chevy when asked what model car you drive. there are many releases of V4
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 10-30-2009, 12:31 AM   #8
Junior Member
 
Join Date: Oct 2009
Posts: 7
Rep Power: 0
grimreaper is on a distinguished road
Default

Quote:
Originally Posted by Lhotch
V4 is like saying you drive a chevy when asked what model car you drive. there are many releases of V4

woopsy woops... V4.0.1
grimreaper is offline  
Old 10-30-2009, 01:05 AM   #9
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,303
Rep Power: 125
Eric Barnes is a jewel in the rough
Default

You need to upgrade to at least v4.0.9:
Important V4.0.2 is now released - Please Upgrade ASAP
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 10-30-2009, 02:13 AM   #10
Junior Member
 
Join Date: Oct 2009
Posts: 7
Rep Power: 0
grimreaper is on a distinguished road
Default

will do ASAP. I have just been lazy on doing it. Thanks for ur continued support.
grimreaper is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Admin Error Cain5Five Technical Support 3 10-11-2008 10:32 PM
Admin Error racingjon Technical Support 11 03-08-2008 01:55 PM
Admin Login Error! bzell99 v3.1 Questions & Support 2 11-21-2006 12:37 PM
Admin Error Maffo v3.1 Questions & Support 7 06-05-2006 11:39 AM
Error trying to get to Admin area???? dawyatt v3.1 Modules & Modifications 27 05-15-2006 04:15 PM


All times are GMT -4. The time now is 06:39 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0