Page 1 of 1

Issue with 0.7.9RC3

Posted: Fri Oct 24, 2008 1:42 am
by HAL 9000
I just installed 0.7.9RC3 and I am getting the following error when I am accessing

Admin -> Configuration -> setting


All the other stuff are working.
________________________________

Notice: Use of undefined constant DIR_LIBRARY - assumed 'DIR_LIBRARY' in /home/www/admin/index.php on line 37

Warning: require(DIR_LIBRARYlocator.php) [function.require]: failed to open stream: No such file or directory in /home/www/admin/index.php on line 37

Fatal error: require() [function.require]: Failed opening required 'DIR_LIBRARYlocator.php' (include_path='.:/usr/local/php5/lib/php') in /home/www/admin/index.php on line 37
________________________________

Re: Issue with 0.7.9RC3

Posted: Fri Oct 24, 2008 1:50 am
by Qphoria
Did you install any contribs? I just tried this on a fresh install and I'm not seeing this.
DIR_LIBRARY should be defined in your config.php file.

Did you upgrade from 0.7.8? or did you do fresh install?

Re: Issue with 0.7.9RC3

Posted: Fri Oct 24, 2008 1:58 am
by HAL 9000
This is a fresh install. I did not install any contribs. New database and everything.


Bharat

Re: Issue with 0.7.9RC3

Posted: Fri Oct 24, 2008 2:17 am
by HAL 9000
Qphoria,

I did not do anything. I refreshed the page just now and it is working fine. No error messages.


Bharat

Re: Issue with 0.7.9RC3

Posted: Fri Oct 24, 2008 2:22 am
by HAL 9000
Now nothing except Admin -> Configuration -> setting is working.

All admin menus are leading to the following message on catalog.

The page you requested cannot be found!
The page you requested cannot be found.


I did not do anything other than hit F5

Re: Issue with 0.7.9RC3

Posted: Fri Oct 24, 2008 2:38 am
by hm2k
You need to try and upgrade again, you haven't uploaded the files correctly.

Re: Issue with 0.7.9RC3

Posted: Fri Oct 24, 2008 2:40 am
by JNeuhoff
Maybe there is a problem with your '.htaccess' files. What's the URL of your site? And what's in your '.htaccess' file of your main OpenCart directory and your admin directory?

Re: Issue with 0.7.9RC3

Posted: Fri Oct 24, 2008 2:59 am
by HAL 9000
http://kottu.chtin60days.com/

__________________________


'.htaccess' file of your main OpenCart directory
__________________________



# Uncomment this to ensure that register_globals is Off
#php_flag register_globals Off

# URL Alias - see install.txt


RewriteEngine On

# Uncomment this if your URL is not directly related to the physical file paths.
#RewriteBase /store/

#OPENCART REWRITES START
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
#OPENCART REWRITES END



________________________________________

'.No .htaccess file in OpenCart admin directory

________________________________________

Re: Issue with 0.7.9RC3

Posted: Fri Oct 24, 2008 3:01 am
by HAL 9000
I will try a fresh install in a few hours and will let you know if the problem persists. Thanks