I prepare a website in my localhost, and there's no problem with it. All menus in administration page are in their place nicely. And then, I upload it to a web server, nothing's left behind. But, sadly, I can't see any menu in administration page.
I try to view page source, and there's javascript part. So maybe it's not the problem, but I'm not sure.
Anybody have an idea why it could happen?
I try to view page source, and there's javascript part. So maybe it's not the problem, but I'm not sure.
Anybody have an idea why it could happen?
Last edited by wedhaaf on Fri Dec 12, 2008 6:15 pm, edited 1 time in total.
After you uploaded your files, did you make sure to adjust the config.php files to reflect the server's domain and environment?
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Thanks JNeuhoff,JNeuhoff wrote: After you uploaded your files, did you make sure to adjust the config.php files to reflect the server's domain and environment?
I don't get what you mean. Does installation process automatically setup anything including server's domain and environment in config.php? I don't know that config.php must be adjusted once more to get this environment. Maybe you can show me an example of config.php that have been adjusted to server's domain and environment.
if you are on
Host: localhost
db user: root
db pass: root
db name: mydb
And you move to a site called: www.hotcoffee.com
and your details are :
db user: hotc_admin
db pass: passwd1
db name hotc_oc
then yea you need to change them
But the disappearing admin menu doesn't make sense, as you wouldn't even be able to load the admin page if you didn't have the correct login credentials
Host: localhost
db user: root
db pass: root
db name: mydb
And you move to a site called: www.hotcoffee.com
and your details are :
db user: hotc_admin
db pass: passwd1
db name hotc_oc
then yea you need to change them
But the disappearing admin menu doesn't make sense, as you wouldn't even be able to load the admin page if you didn't have the correct login credentials
The menus disappear if there are missing images that they want to use or if there are missing language entries that they require. So these are good places to check.
Try viewing the page html source and look for error messages in the html.
Try viewing the page html source and look for error messages in the html.
Thanks Q.Qphoria wrote: But the disappearing admin menu doesn't make sense, as you wouldn't even be able to load the admin page if you didn't have the correct login credentials
I use 0.78 version.
I checked config.php according to your suggestion and they're OK.
Recently I found new problem. Instead of showing image of product in thickbox, it opens image in a page.
Thanks Bruce,bruce wrote: The menus disappear if there are missing images that they want to use or if there are missing language entries that they require. So these are good places to check.
Try viewing the page html source and look for error messages in the html.
If there are missing images, wouldn't it still showing the text? Missing language entries? Do you mean a folder language and files inside it? It seems that they are OK too.
HTML source looks fine. I compared HTML source from demo.opencart.com with mine.
I found this in mine:
Code: Select all
[color=red]<body onload="if (document.forms[0] && document.forms[0].username) document.forms[0].username.focus()">[/color]
<div id="header"><h1>Administration</h1>
<div class="a">You are logged in as <b>admin</b></div>
Is that a problem? I must check it first.
It's nothing wrong with it. I changed this code and nothing happen.wedhaaf wrote:Code: Select all
[color=red]<body onload="if (document.forms[0] && document.forms[0].username) document.forms[0].username.focus()">[/color] <div id="header"><h1>Administration</h1> <div class="a">You are logged in as <b>admin</b></div>
Maybe you'll get a clear explanation from what I posted before.[/img]
The problem is no doubt with JSCookMenus.
Use firefox and the webdev toolbar to view the error console or get firebug or something.
Use firefox and the webdev toolbar to view the error console or get firebug or something.
Aha. that says it all. You have javascript disabled on your browser. Re-enable itwedhaaf wrote: Recently I found new problem. Instead of showing image of product in thickbox, it opens image in a page.
Last edited by Qphoria on Thu Dec 11, 2008 6:50 pm, edited 1 time in total.
Wait a minute QQphoria wrote: Aha. that says it all. You have javascript disabled on your browser. Re-enable it

Javascript in my firefox 3.0.4 is never been changed, and it's enabled. Open the admin page using IE 6, resulting the same problem.
Thank you for your willingness to help, Q.
I really appreciate if someone could do a favour.
This is the mainpage link kupuweb.com/ecommerce
I have no intention to lie. I do really need a hand here. Hope you guys, have a solution.
Q, I sent PM to you.
I really appreciate if someone could do a favour.
This is the mainpage link kupuweb.com/ecommerce
I have no intention to lie. I do really need a hand here. Hope you guys, have a solution.
Q, I sent PM to you.
Looks like a permissions thing for the javascript folder:
http://kupuweb.com/ecommerce/admin/java ... ookMenu.js
gives me "Forbidden" on your site. But I can see the text on mysite.
When i changed the permissions of my admin/javascript folder to 700, i got the same problem as you. When I changed back to 755, it was fine.
You might want to change the full level starting at "ecommerce" to set all subdirs to 755
http://kupuweb.com/ecommerce/admin/java ... ookMenu.js
gives me "Forbidden" on your site. But I can see the text on mysite.
When i changed the permissions of my admin/javascript folder to 700, i got the same problem as you. When I changed back to 755, it was fine.
You might want to change the full level starting at "ecommerce" to set all subdirs to 755
Last edited by Qphoria on Fri Dec 12, 2008 4:10 pm, edited 1 time in total.
Finally the problem is solved... 
All the problem is caused by the file that I copied from 0.79 RC5. I thought this file will give more security to each folder of 0.78 by copying this file to them. Silly
and bad thing happens.
This file is .htaccess and has script in it like this :
Order Allow,Deny
Deny from all
Deny from all, of course will deny everything that try to reach it.
I deleted it and everything go right.
Thank you Q and you all guys for giving assist.
Thank you Bruce for the advice and analysis.

All the problem is caused by the file that I copied from 0.79 RC5. I thought this file will give more security to each folder of 0.78 by copying this file to them. Silly

This file is .htaccess and has script in it like this :
Order Allow,Deny
Deny from all
Deny from all, of course will deny everything that try to reach it.
I deleted it and everything go right.
Thank you Q and you all guys for giving assist.
Thank you Bruce for the advice and analysis.
Yes, it doesn't exist in directory catalog/javascript, but I still get no image in thickbox even if I remove that file in it.
I traced all the file and found that this file in directory catalog/controller is also cause that problem. I removed that file in the directory, and rightnow, the image would show off in a thickbox.
Remember, I use 0.78. Maybe this version can't handle the .htaccess file, but I'm not sure too.
I traced all the file and found that this file in directory catalog/controller is also cause that problem. I removed that file in the directory, and rightnow, the image would show off in a thickbox.
Remember, I use 0.78. Maybe this version can't handle the .htaccess file, but I'm not sure too.
For the record, I did notice that some of the contributions do have an ".htaccess" file in some of the folders. I had the same problem after installing the export-import module, and found the ".htaccess" file in the admin folder of the upload. Like was written above, I simply deleted this file, and solved my problem.hm2k wrote: The ".htaccess" file doesn't exist in that directory on RC5.
The export-import module's htaccess would have likely given you a "Internal Server Error 500" due to your host not supporting the override of php upload settingsStenrick wrote: For the record, I did notice that some of the contributions do have an ".htaccess" file in some of the folders. I had the same problem after installing the export-import module, and found the ".htaccess" file in the admin folder of the upload. Like was written above, I simply deleted this file, and solved my problem.
Who is online
Users browsing this forum: No registered users and 1 guest