PhotoPlog

Go Back   PhotoPlog > PhotoPlog Lite > Troubleshooting & Problems
Screens Demo Purchase Download Register

Reply
Attention: Last reply in this thread was more than 17 Years ago
 
Thread Tools
  #11  
Old 05-06-2007, 07:09 PM
Bashy Bashy is offline
Green Plog
 
Join Date: Mar 2006
Posts: 17
Gallery: 0
Comments: 0
Default

Yep, the error has disappeared

I checked the navbar template for any in_array

and the only 1 i found was this
Code:
Content visible to registered users only.
Does this help any?
Reply With Quote
  #12  
Old 05-06-2007, 07:13 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Yep, the $links_groups variable is from the Advanced Quick Links modification. Add links_groups to the PhotoPlog Global Variables setting via the ACP and see if the warning message goes away.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #13  
Old 05-06-2007, 07:36 PM
Bashy Bashy is offline
Green Plog
 
Join Date: Mar 2006
Posts: 17
Gallery: 0
Comments: 0
Default

Ok, i think i done that, is this the right place cause the error is still there (see image please)
Attached Images
File Type: jpg variable.jpg (12.8 KB, 5 views)
Reply With Quote
  #14  
Old 05-06-2007, 07:42 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Yes, that is the correct location. Try temporarily removing the entire in_array template conditional from the navbar template. Does the in_array warning goes away?
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #15  
Old 05-06-2007, 07:51 PM
Bashy Bashy is offline
Green Plog
 
Join Date: Mar 2006
Posts: 17
Gallery: 0
Comments: 0
Default

Just commented out the array and it still gives the error...Not looking good is it lol
Perhaps just turn off the error reporting and leave it at that?
Photoplog appears to be working fine and to be honest i aint got a clue how
long this error has been there as i did not know about the error reporting line
therefore i aint never seen the error before!

What do you think?
Reply With Quote
  #16  
Old 05-06-2007, 08:02 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

The problem is with the Advanced Quick Links modification. It doesn't set $links_groups to be an array unless you are viewing the adv_quick_links.php file. As such you get a "wrong datatype for second argument" error because $links_groups is a string instead of an array. Keep links_groups in the PhotoPlog Global Variables setting, and add this to a plugin located at the global_start hook:
Code:
Content visible to registered users only.
Otherwise, remove (not comment out, actually remove) the following from the navbar template:
Code:
Content visible to registered users only.
When you gets errors like this, it is my opinion that you should fix them instead of hide them by turning off error reporting. You never know what new errors you are going to get in the future, especially with the amount of modifications you install. If you just go and hide errors, you might wind up with a pile of foo and that could turn into a debugging nightmare when you really need to fix something.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #17  
Old 05-06-2007, 08:06 PM
Bashy Bashy is offline
Green Plog
 
Join Date: Mar 2006
Posts: 17
Gallery: 0
Comments: 0
Default

Yeah i know what ya saying, and if anything im prob about the worst for installing hacks lol

When you say this, do you mean create a new plugin?

Code:
Content visible to registered users only.
Reply With Quote
  #18  
Old 05-06-2007, 08:10 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Yep, create a new plugin. Use 'Advanced Quick Links' as the product.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #19  
Old 05-06-2007, 08:17 PM
Bashy Bashy is offline
Green Plog
 
Join Date: Mar 2006
Posts: 17
Gallery: 0
Comments: 0
Default

Wahooo, thats it, the error is no more!!

Thanks alot for your patience and time, tis much appreciated
Reply With Quote
  #20  
Old 05-06-2007, 08:19 PM
Bashy Bashy is offline
Green Plog
 
Join Date: Mar 2006
Posts: 17
Gallery: 0
Comments: 0
Default

Actually not sure whats happened here but in my navbar i now have a link called this Advanced Quick Links was this meant to be there all the time? lol
Reply With Quote
Reply

« Previous Thread | Next Thread »

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blank page and I think I've tried everything phyc Troubleshooting & Problems 7 03-24-2008 04:04 PM
Blank page on upload. lordtopcat Troubleshooting & Problems 6 03-09-2008 05:51 PM
Blank Page... Zacarias Troubleshooting & Problems 21 03-05-2006 03:24 PM


All times are GMT. The time now is 05:47 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.