Gallery logs out while searching
jort.steijn
Joined: 2013-02-01
Posts: 7 |
![]() |
My problem is only occuring since two days. When i want to search the gallery i get logged out automatically. Notice: Array to string conversion in W:\Ampps\www\album\modules\core\classes\GalleryUrlGenerator.class on line 485 I have changed permissions so guests can also see the album and when i do the search it works but i get this two error messages: Notice: Undefined variable: albumId in W:\Ampps\www\colouramadesigns.net\modules\core\classes\GalleryCoreSearch.class on line 138 Notice: Undefined variable: albumName in W:\Ampps\www\colouramadesigns.net\modules\core\classes\GalleryCoreSearch.class on line 297 I don't know if it helps... I have already tried switching from my webhost to our own environment, but still the same problem!
I hope that you can help me with this! Thank you! Jort |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
It does look like this could be related to your custom field changes. -s |
|
jort.steijn
Joined: 2013-02-01
Posts: 7 |
![]() |
I've deleted all the entry's from the last 2 weeks, but it doesn't solve the problems. Here's an example of a url that i get when i search and i am logged out automatically: When i search as a guest i only get this: http://colouramadesigns.net/colouramadesigns.net/main.php |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Quote:
Notice: Undefined variable: albumId in W:\Ampps\www\colouramadesigns.net\modules\core\classes\GalleryCoreSearch.class on line 138 These don't make any sense to me. Are you using a customized GalleryCoreSearch.class? There are only 200 lines in GalleryCoreSearch.class so where 297 is coming from. Restore the default GalleryCoreSearch.class and I bet your woes will go away. -s |
|
jort.steijn
Joined: 2013-02-01
Posts: 7 |
![]() |
I have replaced my GalleryCoreSearch.class, and the two error messsages went away. Strange thing is that i never edited this file. Notice: Array to string conversion in W:\Ampps\www\colouramadesigns.net\modules\core\classes\GalleryUrlGenerator.class on line 485 I have also restored this file from an original version, but it doesn't help. If you want i can send you the link of our gallery website so you can have a look? |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
1st lets make sure your installation files are original -s |
|
jort.steijn
Joined: 2013-02-01
Posts: 7 |
![]() |
This is the list of files that are not original: embed.php Please note that i edited a few files when i configured the database 2.5 years ago! I have only added pictures and filled in custom fields. |
|
jort.steijn
Joined: 2013-02-01
Posts: 7 |
![]() |
I cannot solve the problem, is there any possibility that one of the developers can have a look at it? |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
please download a fresh copy of your current version and replace the non-original files: there would be no reason to edit those. also if you don't remember editing the following replace them as well: the password recovery template would be a good place for a hacker to insert bad code. You may have to upgrade to 2.3.2 as I don't see 2.3.1 available. -s |
|