Page 1 of 2
Problems after installl Mygallery
Posted: Thu 16. Mar 2006, 15:47
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
Posted: Thu 16. Mar 2006, 17:39
by DeXXus
Posted: Fri 17. Mar 2006, 09:23
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
Posted: Fri 17. Mar 2006, 10:18
by DeXXus
Then you changed the ~wrong~ copy of php.ini!
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 !
Posted: Fri 17. Mar 2006, 13:02
by kruemelmaus
your right,
i forgot to restart my local server
thanx a lot for your answer
Posted: Wed 12. Apr 2006, 11:15
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.
Posted: Wed 12. Apr 2006, 11:37
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!
Posted: Wed 12. Apr 2006, 11:43
by headless
oh, thx
i disregarded it.
Posted: Thu 25. May 2006, 16:30
by Svenaui
Hi DeXXus,
for me isn´t clear, what kind of tables I have to create and where. A short tip...?
Thanks
Sven
Posted: Thu 25. May 2006, 17:39
by DeXXus
Sorry to say... I don't know-->Never used the MOD.

I had just searched the forum for his answer!
Posted: Thu 25. May 2006, 22:03
by Svenaui
Hi DeXXus,
I found it, there are some db tables to create by hand or drag and drop.
Thanks
Sven
Posted: Fri 7. Jul 2006, 15:08
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
Posted: Fri 7. Jul 2006, 18:45
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

Posted: Fri 7. Jul 2006, 23:19
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:
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.
Maybe you could try that and see?
Posted: Sat 8. Jul 2006, 15:58
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