Search found 4 matches

by ibirrer
12 May 2005, 11:58
Forum: Help
Topic: 1.0.0a2 upgrade.php on Solaris
Replies: 5
Views: 12724

some more infos

One more note:

If I use __FILE__ in an included file it returns the relative path if it is used directly in the processed php file it returns the absolute path.

Comments in http://ch2.php.net/constants also say that different versions of php return either the absolute or relative path to the ...
by ibirrer
12 May 2005, 11:21
Forum: Help
Topic: 1.0.0a2 upgrade.php on Solaris
Replies: 5
Views: 12724

__FILE__

<?php echo $_SERVER["SCRIPT_FILENAME"] ?> returns the absolute path correctly. However if I replace __FILE__ in upgrade_inc.php another error occurs:

Fatal error: Cannot redeclare php_version_at_least() (previously declared in /home/ceg/public_html/mantis_new/core/php_api.php:22) in ../core/php_api ...
by ibirrer
11 May 2005, 11:49
Forum: Help
Topic: 1.0.0a2 upgrade.php on Solaris
Replies: 5
Views: 12724

by ibirrer
10 May 2005, 14:49
Forum: Help
Topic: 1.0.0a2 upgrade.php on Solaris
Replies: 5
Views: 12724

1.0.0a2 upgrade.php on Solaris

Hello,

When I try to run the upgrade.php on solaris I get the following error message:

Warning: main(): Unable to access ./core.php in ./upgrade_inc.php on line 14

Warning: main(./core.php): failed to open stream: No such file or directory in ./upgrade_inc.php on line 14

Fatal error: main ...