PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Bugs - vBulletin 3.7x / 3.8x (http://www.photopost.com/forum/bugs-vbulletin-3-7x-3-8x/)
-   -   Warning: Cannot use a scalar value as an array in /home/***/public_html/gallery/sho (http://www.photopost.com/forum/bugs-vbulletin-3-7x-3-8x/147356-warning-cannot-use-scalar-value-array-home-public_html-gallery-sho.html)

khalidra January 23rd, 2012 12:48 AM

Warning: Cannot use a scalar value as an array in /home/***/public_html/gallery/sho
 
Hello,

I'm getting the following warning:

Warning: Cannot use a scalar value as an array in /home/magha/public_html/gallery/showimage.php on line 275

Warning: Cannot use a scalar value as an array in /home/magha/public_html/gallery/showimage.php on line 276

Warning: Cannot use a scalar value as an array in /home/magha/public_html/gallery/showimage.php on line 282

Warning: Cannot use a scalar value as an array in /home/magha/public_html/gallery/showimage.php on line 283


Appear when you log on to the forum

You can login using this account:
User: khalidra
Pass: 123456

help me please.

Chuck S January 23rd, 2012 07:44 AM

Any info to assist here?

url to this install and vb and vbgallery versions?

khalidra January 23rd, 2012 08:41 AM

vBulletin Version 3.8.2
vbgallery versions 2.5

url: magha.net/gallery/

thanks

Chuck S January 23rd, 2012 08:49 AM

You should try using 2.51 of vbgallery then seeing what the issue is.

I am trying to compare your error lines in the files not seeing anything that stands out or any issues with the coding side of things.

khalidra January 23rd, 2012 10:30 AM

I will try

Chuck S January 23rd, 2012 10:34 AM

There was literally been no work done on vb3 since vbulletin 4 is what most are using now adays.

khalidra January 23rd, 2012 11:11 AM

I think I have the latest version 2.51

Because when I try to Upgrade, I get this message:
(You are already running the current version of PhotoPost vBGallery Photopost vBGallery)

Chuck S January 23rd, 2012 11:13 AM

You are fine there is no upgrade script from 2.5 o 2.51 it is simply updated files.

Chuck S January 23rd, 2012 11:19 AM

Well like I said I see nothing in the code just a guess maybe you can alter showimage.php and near line 272 as noted add the line in bold and see what happens

Code:

Content visible to verified customers only.

khalidra January 23rd, 2012 11:36 AM

Wonderful, the message has disappeared

I think the problem is dissolved

Thanks a lot

Chuck S January 23rd, 2012 11:59 AM

Not a problem glad to help. Not that I could read anything on your site since it was in arabic but I generally guess well at problems. ;)


All times are GMT -5. The time now is 06:54 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97