|
Attention: Last reply in this thread was more than 17 Years ago |
|
Thread Tools |
#11
|
|||
|
|||
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. |
#12
|
||||
|
||||
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 |
#13
|
|||
|
|||
Ok, i think i done that, is this the right place cause the error is still there (see image please)
|
#14
|
||||
|
||||
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 |
#15
|
|||
|
|||
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? |
#16
|
||||
|
||||
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. Code:
Content visible to registered users only.
__________________
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 |
#17
|
|||
|
|||
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. |
#18
|
||||
|
||||
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 |
#19
|
|||
|
|||
Wahooo, thats it, the error is no more!!
Thanks alot for your patience and time, tis much appreciated |
#20
|
|||
|
|||
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
|
|
|
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 |