|
|||||||
| Newbie Questions New to the whole making money online and developing your own sites thing? Post your questions here so that seasoned members can answer your questions. Please keep your questions out of the other categories. We know you're a newbie, but there's no reason to be annoying. |
|
Welcome to the WickedFire - Affiliate Marketing Forum - Internet Marketing Webmaster SEO Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Senior Member
|
I have a shared hosting account over @ justhost (what a shitty host) with a top level domain for my account and a few other addon domains on my hosting account. I tried using my top level account domain as a domain to header redirect for a facebook campaign, so i deleted the previous install of wordpress on the domain, got rid of the SQL databases, and deleted the fantastico information as well as all of the wordpress files.
this is what i get when i go to my site: Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/passive1/public_html/index.php on line 17 Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/passive1/public_html/index.php on line 17 Fatal error: require() [function.require]: Failed opening required './wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/passive1/public_html/index.php on line 17 does anyone know what i can do to fix this? +rep to any help, thanks |
|
|
|
|
|
#2 (permalink) |
|
instant automation
|
Well to uninstall a fantastico install you should do it through fantastico, but that's not essential.
The error messages mean that index.php IS being found. FTP into your account and double check all the files are gone. Once you delete index.php it should work. Also try the file manager from within cpanel to checkout if any files are there, and delete if they are. Apart from that, assuming your browser isn't caching an old response from the server - dunno
|
|
|
|
|
|
#3 (permalink) | |
|
Senior Member
|
Quote:
.htaccess, errorlog, and index.php are the only files left |
|
|
|
|
|
|
#4 (permalink) |
|
Senior Member
|
Alright, well when i was testing it yesterday the original index.php acidentally got uploaded when i was trying to fix it. so i just replaced it with the actually index.php redirect and i get this original error again
Parse error: syntax error, unexpected $end in /home/passive1/public_html/index.php on line 4 and this is whats in the index.php <? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.affiliatelink.com ); ?> |
|
|
|
|
|
#5 (permalink) |
|
instant automation
|
C'mon - you're just being lazy now
You're missing the end quote before the close bracket on line 3. Also add an exit; after the last header line to guarantee an exit - I've heard there are cases when the script doesn't end when you just use header() |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Simple Header Redesign | DBWebDev | Sell, Buy & Trade | 18 | 11-15-2008 09:37 AM |
| php header redirect question? | Lickity_Split | Design, Development & Programming | 4 | 11-08-2008 04:22 AM |
| Passing a subid to the merchant within a PHP redirect | ImagesAndWords | Affiliate Marketing | 27 | 01-30-2008 08:32 AM |
| php Session Variables in Header Redirect not working | Jondoe0069 | Design, Development & Programming | 7 | 11-16-2007 02:28 AM |
| Affliate Link Cloaking Tutorial | Kfleming | Affiliate Marketing | 39 | 05-12-2007 07:40 PM |