Problems after installl Mygallery

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
kruemelmaus
Posts: 88
Joined: Tue 31. Jan 2006, 11:35
Location: Wermelskirchen / Germany

Problems after installl Mygallery

Post by kruemelmaus »

Hello together,

i have installed the mod mygallery.

After that there are some errors in my PHPWCMS installation

When I started my page the system display the follwing errors:


Notice: Undefined variable: slideshowtime in C:\Programme\Apache Group\Apache2\htdocs\phpwcms\include\inc_module\mygallery\inc_lib\main.config.php on line 14

Notice: Undefined index: gal_installed in C:\Programme\Apache Group\Apache2\htdocs\phpwcms\include\inc_module\mygallery\inc_lib\var.config.php on line 2

Notice: Undefined variable: gallery_alias in C:\Programme\Apache Group\Apache2\htdocs\phpwcms\include\inc_module\mygallery\inc_front\func.inc.php on line 49

Notice: Undefined variable: pathtoscript in C:\Programme\Apache Group\Apache2\htdocs\phpwcms\include\inc_module\mygallery\inc_front\func.inc.php on line 49


Who can help me?


regards

Oliver
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

kruemelmaus
Posts: 88
Joined: Tue 31. Jan 2006, 11:35
Location: Wermelskirchen / Germany

Post by kruemelmaus »

Thanx alot for your answer DeXXus.

I have change the php.ini file, but these solve not my problem.

the reasen for my problem must be another.


regards

oliver
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Then you changed the ~wrong~ copy of php.ini! :wink:
They are JUST notices... and do not affect the script operation in ANY way.
Once you turn them off in the right file, all will be fine !
kruemelmaus
Posts: 88
Joined: Tue 31. Jan 2006, 11:35
Location: Wermelskirchen / Germany

Post by kruemelmaus »

your right,

i forgot to restart my local server


thanx a lot for your answer
headless
Posts: 15
Joined: Wed 12. Apr 2006, 04:27
Contact:

Post by headless »

I installed the gallery mod, but if i click on the gallery module in the backend, i get this error:
Fatal error: Cannot redeclare fmod() in C:\Programme\Apache Group\Apache2\htdocs\headless.at.tc\include\inc_module\mygallery\inc_lib\main.functions.php on line 7
Code:
4: function fmod($x,$y){
5: $i = floor($x/$y);
6: return $x - $i*$y;
7: }
I also changed the php.ini


Whats wrong, i use it on my local server, it is possible, that i must change more in the php.ini?

please help me.

i run an apache server and i use windows xp.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

http://www.phpwcms.de/forum/viewtopic.php?p=60813#60813
I managed to install the mod okay although I had to comment out fmod() and create the tables manually before it worked - thanks to all those who went before me so I learnt from you!
headless
Posts: 15
Joined: Wed 12. Apr 2006, 04:27
Contact:

Post by headless »

oh, thx

i disregarded it.
Svenaui
Posts: 9
Joined: Sun 21. May 2006, 18:34

Post by Svenaui »

Hi DeXXus,

for me isn´t clear, what kind of tables I have to create and where. A short tip...?

Thanks
Sven
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Sorry to say... I don't know-->Never used the MOD. :oops:
I had just searched the forum for his answer!
Svenaui
Posts: 9
Joined: Sun 21. May 2006, 18:34

Post by Svenaui »

Hi DeXXus,

I found it, there are some db tables to create by hand or drag and drop.

Thanks
Sven
easybaner
Posts: 25
Joined: Sat 6. May 2006, 16:13

Post by easybaner »

Bei der Installation (man bemerkt eher zufällig, dass es eine install.php gibt), bekomme ich folgende Fehlermeldung:

Code: Select all

Warning: main(PHPWCMS_ROOT/include/inc_module/mygallery/inc_lib/main.config.php): failed to open stream: No such file or directory in /home/www5140/www.***.de/include/inc_module/mygallery/install/config.php on line 2

Warning: main(): Failed opening 'PHPWCMS_ROOT/include/inc_module/mygallery/inc_lib/main.config.php' for inclusion (include_path='.:/usr/lib/php') in /home/www5140/www.***.de/include/inc_module/mygallery/install/config.php on line 2
*** sind von mir :-)
Hat jemand eine Ahnung?

Andreas
Ati
Posts: 50
Joined: Fri 19. May 2006, 20:09
Contact:

Post by Ati »

*gg* du bist nicht der erste der auf eine Antwort wartet.

Ich warte auch schon ziemlich lange drauf, bis mir endlich wer einer die lösung gibt.

Wer wartet wird auch belohnt :P
"Seien wir realistisch - versuchen wir das Unmögliche" (Chè Guevara)
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

I have not installed this MOD... but the directions say:
The first thing to do is to upload the files of the gallery mod to your phpwcms install folder. You will need to upload the mygallery folder to:
PHPWCMS_ROOT/include/inc_modules/
I ~THINK~ this does -NOT- mean for user to "create" a directory named PHPWCMS_ROOT and upload the folder to that path ( PHPWCMS_ROOT/include/inc_modules/ )

I ~THINK~ it means for user to look in "/config/phpwcms/conf.inc.php" at the value set for:

Code: Select all

$phpwcms["root"]              = "";
and upload the mygallery folder as a subdirectory of -that- starting point.

In -your- case it would be ( include/inc_modules/ ) because your installation of phpWCMS is in your root. If you had installed phpWCMS in a subdirectory named "easybaner"... then it would be ( easybaner/include/inc_modules/ ) for "where" to upload to. :wink:

Maybe you could try that and see?
easybaner
Posts: 25
Joined: Sat 6. May 2006, 16:13

Post by easybaner »

Hi DeXXus,

mygallery-script is in /include/inc_module/mygallery/
I dont need PHPWCMS_ROOT, but i dont know where to change it.

easybaner
Post Reply