); * override the protocol + host + path + file:

Kasimirasrael

Joined: 2007-05-06
Posts: 6
Posted: Sun, 2007-08-19 19:59

Please fill out the following form and take a look at the linked pages. The more information you supply, the better we can help you. Remove this FAQ information from your post before submitting.

- What information is required when asking for help in the forums? See:
http://codex.gallery2.org/index.php/Gallery2:faq#What_information_is_required_when_I_ask_for_help_in_the_forums.3F
- You can copy and paste a lot of the required information from "Site Admin" -> "Maintenance" -> "System Information" if your G2 is up and running.
- Also visit http://codex.gallery2.org for: Frequently Asked Questions, Debugging Instructions, Known Issues and much more
- And try your luck with the search function of this website


Gallery version (not just "2"): 2.1
PHP version (e.g. 5.1.6): PHP Version 5.2.3
PHPInfo Link (see FAQ): xxxxx
Webserver (e.g. Apache 1.3.33):
Database (e.g. MySql 5.0.32): 5.0.32
Activated toolkits (e.g. NetPbm, GD): GD, Watermark, search
Operating system (e.g. Linux):
Browser (e.g. Firefox 2.0):

Hi!!

I have a big Problem, here is the link to my gallery: xxxxx

First i got this Error:

); * override the protocol + host + path + file: * $gallery->setConfig('baseUri', 'https://example.com:8080/gallery2/index.php'); */ $gallery->setConfig('baseUri', ''); ?> ?>
Error
Error (ERROR_PLATFORM_FAILURE) :

* in modules/core/classes/GalleryTemplate.class at line 251 (GalleryCoreApi::error)
* in modules/core/classes/GalleryTemplate.class at line 180 (GalleryTemplate::_initCompiledTemplateDir)
* in main.php at line 479 (GalleryTemplate::fetch)
* in main.php at line 94
* in main.php at line 83

After deleting the g2data/smarty/templates_c/ folder (FAQ) i only get this one error line:

); * override the protocol + host + path + file: * $gallery->setConfig('baseUri', 'https://example.com:8080/gallery2/index.php'); */ $gallery->setConfig('baseUri', ''); ?> ?>

I hope somebody can help me.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-08-19 22:19

looks like you tried to edit config.php manually yourself and something went wrong.

i guess all you need to do is add a "/" before the "* override the protocol" part in config.php.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
Kasimirasrael

Joined: 2007-05-06
Posts: 6
Posted: Mon, 2007-08-20 23:56

Thanks, that solved one of my Problems... My config.php was damged.

I don´t know why my config.php was edited in this funny way...

And it was only one of some coexistent problems, that made it so difficult for me. But now my gallery is working! Thanks for your help!