|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
![]() Join Date: Apr 2004
Posts: 48
![]() |
Hi,
I am going mad with this Mambo problem... I moved 2 galleries installation from a Debian box running PHP 4.3.10 to a Centos one with 4.4.1 and now I am getting the following error every time I am trying to remove or modify a gallery: init.php: Gallery seems to be inside Mambo, but we couldn't get the necessary info Outside the Mambo directory gallery is working fine. I read all the posts on this forum and double checked all my url's and everything appears to be ok but problem still remains. Be aware that I move the galleries from a server were both have been working fine so no need to modify anything apart from the paths which I double checked. Anyone with a suggestion? Thanks a lot Mambo version: Latest patched Gallery version: 1.5.1 PHP version: 4.4.1 (tested on 4.3.11 as well with same results) Webserver: Apache 1.3.34 |
|
|
|
|
|
#2 |
![]() Join Date: Feb 2006
Posts: 1
![]() |
Having the same problem here.. it seems to be related to the SMF Forum component. When I remove the SMF component the popup links in Gallery start to work again...
Strange thing is, if I re-activate the SMF Forum component, Gallery will continue to work normall for a time, then the links will just decide to stop working again, apparently at random. Anyone have any ideas? ![]() |
|
|
|
|
|
#3 |
![]() Join Date: Mar 2004
Location: UK
Posts: 100
![]() |
I'm ripping my hair out with this one too
I have five sites affected by this now ![]() |
|
|
|
|
|
#4 | |
![]() Join Date: Dec 2005
Location: Cornwall U.K.
Posts: 3,712
![]() |
This appears to be a widespread problem - I just Googled the error string..forum wont let me post the results URL
I don't know of "the fix" yet (I don't use most of these 3rd party galleries) but I'm always willing to wade through Google looking for a cure. The Gallery help forums might yield a faster response: http://gallery.menalto.com/node/29894 The last post in that thread makes me think the classic adding www. to the live_site variable in Mambo's configuration.php might help.That might be where the confilct lies. Quote:
Last edited by maligned-geek : April 16th, 2006 at 07:52. |
|
|
|
|
|
|
#5 |
![]() Join Date: Mar 2004
Location: UK
Posts: 100
![]() |
I have spent four hours googling and searching forums now. Tried many config settings and even change code but nothing has fixed it yet!
![]() |
|
|
|
|
|
#6 |
![]() Join Date: Dec 2005
Location: Cornwall U.K.
Posts: 3,712
![]() |
What are Gallery saying about it?
What are the exact and precise errors you're getting,dogsbody? If you've moved the Mambo installations like the first poster,then file ownership could need adjusting... If the problem has occurred out of the blue,has anything changed serverside,like PHP or MySQL? |
|
|
|
|
|
#7 | |||
![]() Join Date: Mar 2004
Location: UK
Posts: 100
![]() |
Quote:
Thank you to everyone that has tried.Quote:
Quote:
Thank you again if anyone could please help me |
|||
|
|
|
|
|
#8 |
![]() Join Date: Dec 2005
Location: Cornwall U.K.
Posts: 3,712
![]() |
I'm stumped to be honest,because "the fix" does appear to be matching the live_site URL in Mambo's configuration.php to the Gallery URL in the gallery config file...Plus of course accessing the site from that precise URL too.
This makes perfect sense because javascript is forbidden to run across two different domains (which http://example.com and http://www.example.com could potentially be). I read from the Drupal cache that someone had said it worked for them in IE but not Firefox,then went onto to add enabling cookies did the trick in the end. Does it work in any browser? Have you cleared both the server cache/Mambo's cache and the cache on your local PC? Else results might be misleading if old pages are being called after you've tried a fix... |
|
|
|
|
|
#9 | ||
![]() Join Date: Mar 2004
Location: UK
Posts: 100
![]() |
Definately not the path settings, they have never been anything differant...
Quote:
Quote:
I have also seem talk of it only happening on sites with SMF forum on, while this is true of my original site I now have three other sites that have only Gallery & Mambo installed and are doing this :-( |
||
|
|
|
|
|
#10 |
![]() Join Date: Dec 2005
Location: Cornwall U.K.
Posts: 3,712
![]() |
Mmm..this makes me think the error:
init.php: Gallery seems to be inside Mambo, but we couldn't get the necessary info may have a lot of triggers,say for example the file's/folders ownership is out of whack somehow.Gallery knows they are there but can't get to them. Can you check the ownership (not permissions) on the affected folders/files of Gallery compared with those of Mambo,please? The easy way to do that is with Joomlaxplorer if you have it installed. http://virtuemart.net/index.php?opti...51&Item id=80 Yes - it is fully Mambo compatible. |
|
|
|
|
|
#11 |
![]() Join Date: Mar 2004
Location: UK
Posts: 100
![]() |
Permissions are fine
One of the threads I read on this error said that it was a variable that now wasn't being passed to gallery but the post didn't have any specifics or a fix I couldn't see any differance in the URL that was being called but beond that I couldn't tell. |
|
|
|
|
|
#12 |
![]() Join Date: Dec 2005
Location: Cornwall U.K.
Posts: 3,712
![]() |
and ownership? It's the ownership I was more interested by.
Bummer if ownership is fine too.It was just a thought.Man,this does sound like a crippling bug.Gallery really need to help you with it. ![]() |
|
|
|
|
|
#13 |
![]() Join Date: Mar 2004
Location: UK
Posts: 100
![]() |
Yeah ownership too, I've done recursive chmod's chown's and chgrp's
I have posted over on the Gallery forums too but just as the Mambo forums is missing a Gallery expert the Gallery forums are missing a Mambo expert! Thank you again for your help. |
|
|
|
|
|
#14 | |
![]() Join Date: Mar 2004
Location: Oldenburg, Germany
Posts: 133
![]() |
Hi,
this seems to be a problem with Mambo 4.5.3h and Gallery 1.5x. I have found the following line in the changelog.php: Quote:
Please note, I'm not a programmer and I'm not sure what happens to Mambo if you remove this line. ![]() I have talked to a G1 developer and he will fix this issue in the next version of Gallery1. (just for info: The same error exist in Joomla since the session management has changed but you can configure the session management in Joomlas Global Configuration to "backwards compatibility".) I hope this helps. Kai
__________________
gallery-addons.com |
|
|
|
|
|
|
#15 | |
![]() Join Date: Mar 2004
Location: UK
Posts: 100
![]() |
Quote:
![]() |
|
|
|
|
|
|
#16 |
![]() Join Date: May 2006
Posts: 1
![]() |
I added "session_start();" beneath the hack prevention globals in gallery/index.php and that seemed to solve the problem with the popup init.php error message.
|
|
|
|
|
|
#17 |
![]() Join Date: Mar 2006
Posts: 14
![]() |
Hello,
Im new to mambo and I just finished working through the problems surrounding 1.5 gallery with mambo 4.5. Everything works fine except I cant seem to figure out how to allow logged in users to create albums viewable by public but only editable by the person who creates it. Thoughts? Thanks in advance, D |
|
|
|
|
|
#18 |
![]() Join Date: Mar 2006
Posts: 10
![]() |
I've also just upgraded to 4.5.3h and now my Gallery doesn't work:
I added in session_start(); that seemed to get rid of the message of "Gallery seems to be there..." My Mambo 4.5.3 site had been hit by massive hacking which caused our very reliable 3rd party server hosts to be down for 2 days. Removing session_start(); may compromise the security of my site again. BUT I've also got ALOT of warning errors caused by the transfer... How do I fix these? Code:
Warning: set_time_limit(): Cannot set time limit in safe mode in /home/nzpbccon/public_html/gallery/init.php on line 68 Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANG' - it's not in the allowed list in /home/nzpbccon/public_html/gallery/lib/lang.php on line 342 Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANGUAGE' - it's not in the allowed list in /home/nzpbccon/public_html/gallery/lib/lang.php on line 343 Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LC_ALL' - it's not in the allowed list in /home/nzpbccon/public_html/gallery/lib/lang.php on line 345 Gallery Last edited by Mantis_Atlantis : June 10th, 2006 at 18:54. |
|
|
|
|
|
#19 |
|
Super Mod
![]() Join Date: Oct 2005
Location: Bali, Indonesia
Posts: 677
![]() |
your server use safe mode = on setting. in the safe mode env, there are some limitations on functions use such set_time_limit, locale setting and other php.ini setting. you can hide such warning info by puttng
error_reporting (E_ALL ^ E_NOTICE); in the first line of init.php
__________________
Adi Setiawan ------------- http://ex3me.org Official Mambo CMS Forums: http://forum.mambo-foundation.org |
|
|
|
|
|
#20 |
![]() Join Date: Mar 2006
Posts: 10
![]() |
Not a fix to the Mambo source code, just changing the settings so that the warning messages are hidden.
I commented out the old line and put the "error_reporting (E_ALL ^ E_NOTICE);" line instead but the warnings still kept coming up. I did this however, my 3rd party hosts gave me access to the php.ini file so I just turned off all error reporting - "display_errors = Off" . This is actually the recommended setting but they never did... Together with the earlier fix of commenting out start_session for index.php & index2.php. My site is working fully under 4.5.3h with security patch - safe mode including the Gallery. Last edited by Mantis_Atlantis : June 10th, 2006 at 23:31. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The actual usefulness of Mambo? | zimen | General Questions | 10 | November 19th, 2005 04:15 |
| Mambo Documentation Resources | kenmcd | Documentation Resources | 8 | June 2nd, 2005 20:07 |
| editing menalto gallery in mambo admin & linking individual albums within mambo | ajollybengali | General Questions | 1 | May 5th, 2005 12:38 |
| gallery issue with mambo (necessary info not found) | joeykangaroo | Open Source Products for Mambo | 3 | October 25th, 2004 12:40 |