Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

main.php not found

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
BoarderX

Beginner
Beginner


Joined: Aug 25, 2005
Posts: 2

PostPosted: Thu Aug 25, 2005 7:28 pm    Post subject: main.php not found Reply with quote

hi, i have a phpnuke site set up and have just installed and added gallery 2.0 as a module for it.

when i click the gallery2 button in my modules section i get this error:

-----------

Not Found
The requested URL /main.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

--------------

can anyone help?

i have head about a gallery2.cfg file but i dont have one, im guessing that this might be the problem

thanks in advance

(i have searched but cannot find an explination that works)

sorry if its a n00by question Razz
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: main.php not found  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Mon Aug 29, 2005 6:24 am    Post subject: Re: main.php not found Reply with quote

post your gallery2.cfg file contents, and your website URL please.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
tittelba

Beginner
Beginner


Joined: Sep 20, 2005
Posts: 4

PostPosted: Fri Sep 23, 2005 1:16 pm    Post subject: Re: main.php not found Reply with quote

Excact same problem here. I can't find the gallery2.cfg file either. Can you point me to it?

edit: found it. Some how I didn't get it copied from the integration files

Thanks,
Tom
Back to top
Offline View user's profile Send private message
redlow

Beginner
Beginner


Joined: Aug 05, 2005
Posts: 2

PostPosted: Tue Sep 27, 2005 7:52 pm    Post subject: Re: main.php not found Reply with quote

Hi Dari,

I seem to have the same issue some of the others have mentioned in this thread, regarding HTTP 404 loading main.php.

1st: Gallery 2 is working standalone on my site: http://wolder.demon.nl/modules/gallery2/main.php [demon.nl]

2nd: When attempting to access via php-nuke integration, the system can't seem to build the full path, and attempts to load http://wolder.demon.nl/main.php [demon.nl], implying it isn't properly building the path. (I only see this in Firefox In IE, it will only show a http 404 at http://wolder.demon.nl/modules.php?name=gallery2 [demon.nl])

As far as I know, my gallery2.cfg file is correct:

PHP: › <?php
$g2embedparams 
= array (
  
'embedphpfile' => 'E:/webserver/htdocs/modules/gallery2/',
  
'embedUri' => 'modules.php?name=gallery2',
  
'relativeG2Path' => '/modules/gallery2/',
  
'loginRedirect' => 'modules.php?name=Your_Account',
  
'activeUserId' => '0',
  
'embedPath' => '/',
  
'cookiepath' => '/',
);
$g2mainparams = array (
  
'showSidebar' => NULL,
);
$g2configurationdone 'true'
?>


I have tried re-running G2 Integration configuration, trying different /'s in the paths, etc.. and the G2 main configuration, rebuilding database tables, etc. Nothing seems to work. The error I am describing never seems to disappear. I have looked at my embed.php file, it looks fine.

Apparently, my issues are completely in the integration, as Gallery standalone seems to work great... I just can't get the integration to look in the modules/gallery2 subdirectory.

I usually research, read, and try everything before posting, but I am at my wit's end. I am hoping it is something simple that I have overlooked, but I can't understand what is going one.

Thanks in advance!

David
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Wed Sep 28, 2005 6:25 am    Post subject: Re: main.php not found Reply with quote

did you replace the index.php file that came with Gallery 2 with the index.php file that was in the integration package?
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
redlow

Beginner
Beginner


Joined: Aug 05, 2005
Posts: 2

PostPosted: Wed Sep 28, 2005 10:56 am    Post subject: Re: main.php not found Reply with quote

Hi Dari,

It's amazing how one can spend hours looking for the wrong thing. I was looking through all the files, not finding anything, until you mentioned if I had replaced the index.html file. When I looked at this, I realized it had an older timestamp. I then realized that all my files were copied into a folder called HTML, instead of the files in HTML copied into my root folder. It is times like this when I really want to bang my head against the wall.

So, end story is, it was fixed. Hrs of troubleshooting only because of 1 silly mistake at the start. Doh Rolling Eyes

Thanks so much for the reply, and recognizing my error right away. Everything now seems to work perfectly, although I had to turn off my mod_rewrite in gallery settings in order to see the thumbnails. I saw some posts about that, so I will start reading up on that now!

Thanks again!
David
Back to top
Offline View user's profile Send private message
Dutch_com_freak

Beginner
Beginner


Joined: Apr 09, 2006
Posts: 6

PostPosted: Wed Apr 09, 2008 12:45 pm    Post subject: Re: main.php not found Reply with quote

DOH!...... and i thought i did this to... how stupid of me.....

*goe and sits in a corner writing... "RTFM...RTFM...RTFM.........*


THNX!
_________________
Whoeiiiiiii
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

6th year online! 2003-2008
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia