tec Posted May 3, 2006 Posted May 3, 2006 hi there, i moved a LIVE site from one server to another, we had to get a dedicated IP. Now, when i moved the site originally, the category links would not go anywhere, the link would show in the top but the page would not leave the index. i went in and deleted the htaccess file from the catalog/ now when i click on a link, i get a page not found, the links are html extensions. Also, i cannot get my pages to come up in the admin. Please help, this site does many many sales in a day and has now been down for 2 days. Broken Links
♥peterpil19 Posted May 3, 2006 Posted May 3, 2006 Hello fellow coin dealer! If you deleted the .htaccess it would explain why the urls are not working at all now I think. Your store uses the Ultimate Seo Urls contribution which has you place some rewrites in the .htaccess. That is why the .php pages still work, but the category and product pages come up with 404 errors (you should still be able to access them with the correct cpath extension however, e.g. index.php?cpath=18). Try adding back the .htaccess file (from a backup up) and then going into admin and under Configuration/SEO Urls, try selecting to "reset the SEO url cache". If that doesn't work, post back here again. By then, others would have read your post too. Regards, Peter A. Piliouras CE PHOENIX SUPPORTER Support the Project, go PRO and get access to certified add ons Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design. Download the latest version of CE Phoenix from gitHub here
tec Posted May 3, 2006 Author Posted May 3, 2006 Hello fellow coin dealer! If you deleted the .htaccess it would explain why the urls are not working at all now I think. Your store uses the Ultimate Seo Urls contribution which has you place some rewrites in the .htaccess. That is why the .php pages still work, but the category and product pages come up with 404 errors (you should still be able to access them with the correct cpath extension however, e.g. index.php?cpath=18). Try adding back the .htaccess file (from a backup up) and then going into admin and under Configuration/SEO Urls, try selecting to "reset the SEO url cache". If that doesn't work, post back here again. By then, others would have read your post too. Regards, Peter A. Piliouras hi there, thank you, i will give it a shot, one thing though, i cant get to my admin admin
tec Posted May 3, 2006 Author Posted May 3, 2006 ok, i put the htaccess file back and now it does what it did before, the urls will show but it doesnt leave the index page
♥peterpil19 Posted May 3, 2006 Posted May 3, 2006 Hi again, If you turn off SEO Ultimate URLs (you can do this in admin/configuration/seo urls) do the links work? They should. Check this, because it will isolate the probelm to the SEO urls (which I still believe is the problem). One important thing: did you move your store from root location to the "catalog" directory when you changed server? If so, this might explain why your urls aren't working, because by memory, a different .htaccess entry is required as part of the SEO URL contribution (refer to installation doc). Regards, Peter CE PHOENIX SUPPORTER Support the Project, go PRO and get access to certified add ons Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design. Download the latest version of CE Phoenix from gitHub here
tec Posted May 3, 2006 Author Posted May 3, 2006 hi there, it was moved from a catalog directory and put into a catalog directory. I cannot access the admin of the cart since the move, it is another one of my problems admin here is my htaccess file in my catalog directory Options +FollowSymLinks RewriteEngine On RewriteBase /catalog/ RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}
♥Vger Posted May 3, 2006 Posted May 3, 2006 Why do you have this at the bottom left of the index.php page? 124 Plese be aware that you may have moved to a server which does not support Mod Rewrite (needed for Ultimate SEO URL's to work). Vger
tec Posted May 3, 2006 Author Posted May 3, 2006 Why do you have this at the bottom left of the index.php page?Plese be aware that you may have moved to a server which does not support Mod Rewrite (needed for Ultimate SEO URL's to work). Vger the 124 is part of a temp tracking code from my marketing team. The site is on a dedicated IP, might I be able to go in and check to see if the mod rewrite is supported?
tec Posted May 4, 2006 Author Posted May 4, 2006 ok, i checked the error log in the plesk panel and this is what i got...well some of it anyhow in /var/www/vhosts/nwcoin.com/httpdocs/catalog/includes/header_tags.php on line 645, referer: http://www.nwcoin.com/catalog/ [client 70.48.101.221] PHP Warning: main(includes/languages/english/) [<a href='function.main'>function.main</a>]: failed to open stream: Inappropriate ioctl for device in /var/www/vhosts/nwcoin.com/httpdocs/catalog/admin/includes/application_top.php on line 138 [client 70.48.101.221] PHP Warning: main(includes/languages/english/) [<a href='function.main'>function.main</a>]: failed to open stream: Inappropriate ioctl for device in /var/www/vhosts/nwcoin.com/httpdocs/catalog/admin/includes/application_top.php on line 138 [client 70.48.101.221] PHP Warning: main() [<a href='function.include'>function.include</a>]: Failed opening 'includes/languages/english/' for inclusion (include_path='.:') in /var/www/vhosts/nwcoin.com/httpdocs/catalog/admin/includes/application_top.php on line 138 [client 70.48.101.221] PHP Fatal error: Cannot re-assign $this in /var/www/vhosts/nwcoin.com/httpdocs/catalog/admin/includes/classes/upload.php on line 31
tec Posted May 4, 2006 Author Posted May 4, 2006 ok, i found this post http://www.oscommerce.com/forums/index.php?sho...28entry851428 now, my problem is, there has been no activity in there since 2005, i dont have either of the files he is talking about PHP.INI HTTPD.CONF for :(
♥Vger Posted May 4, 2006 Posted May 4, 2006 Look at the '$this in uploads.php' link below my name. Vger
tec Posted May 4, 2006 Author Posted May 4, 2006 Look at the '$this in uploads.php' link below my name. Vger you are a smart cookie arent ya? haven them links there in your signature, good thinking :) ok, i did the edit like you said, but now i cant get the admin to load, i dont know if its my connection or not, but it seems to lag or something My headache
♥peterpil19 Posted May 4, 2006 Posted May 4, 2006 Hi, I just got home and had another look. Your links seem to be working now--I take it you figured out the problem? --Peter CE PHOENIX SUPPORTER Support the Project, go PRO and get access to certified add ons Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design. Download the latest version of CE Phoenix from gitHub here
tec Posted May 4, 2006 Author Posted May 4, 2006 Hi, I just got home and had another look. Your links seem to be working now--I take it you figured out the problem? --Peter Hi Peter, I was able to get the front end fixed but my admin still comes up blank. My client is starting to lose patients, and i cant blame them, as so am I ;) It would not have been so bad but the site was live and now its, well, not. :( It took alot of searching and hair pulling, trying different things from different people. Now, if I can get into my admin, I would be the happiest person on these boards :D
tec Posted May 4, 2006 Author Posted May 4, 2006 BUST OUT THE BEER!!!!!!!! :D I got it, its fixed, dont ask me how, god knows i was doing too many things to trouble shoot, but it works IT WORKS
♥peterpil19 Posted May 4, 2006 Posted May 4, 2006 Congrats, I'm happy to hear that! --Peter CE PHOENIX SUPPORTER Support the Project, go PRO and get access to certified add ons Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design. Download the latest version of CE Phoenix from gitHub here
tec Posted May 4, 2006 Author Posted May 4, 2006 Congrats, I'm happy to hear that! --Peter thanks peter, and let me say, if i never have to do this again, it will be too soon ;)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.