Webmastersite.net
Register Log In

Install Bug?

Comments on Install Bug?

Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007

Total Topics: 32
Total Comments: 130
Jez
Posted Jun 12, 2007 - 11:10 AM:

I just installed Simple 4.0.31 and have had some problems with it.

Firstly, I installed and imported the database into MySQL and only then noticed that all the external links were like http://a1-golfcourses.co.uk/www.a-fishing.net though if I manually added one it was fine. I thought perhaps I'd missed something on the install so I deleted all and reinstalled and then it got worse.

Now I find that I can't change the installation URL in System Configeration (I change it to www.domain and it changes it back to http://domain.

I see also on this install that the test category I made will not load, it takes me to a 404 page. I just checked .htaccess and it's CHMOD'd to 666.

Please let me know what you think.

Jez.
Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007

Total Topics: 32
Total Comments: 130
Jez
Posted Jun 13, 2007 - 1:21 PM:

Any advice on this or is there a mistake I have made somewhere (twice)?
mc19
Forum Regular

Usergroup: Customer
Joined: May 14, 2006

Total Topics: 41
Total Comments: 103
mc19
Posted Jun 13, 2007 - 7:01 PM:

I guess its all about .htaccess.

Check for this line at the top.
[coce]RewriteBase /Your Folder/[/code]
If its installed on root
[coce]RewriteBase /[/code]
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 14, 2007 - 1:11 AM:

There was an extraneous .htaccess which should've been htaccess.txt, as mentioned in another thread. Rename it htaccess.txt (if you want URL rewriting let the script write the file when you turn it on).
Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007

Total Topics: 32
Total Comments: 130
Jez
Posted Jun 14, 2007 - 2:24 AM:

Hi,

Thanks for the replies. I tried what you said, Paul and it's not made any difference. I not as well as not being able to change the URL in the Installation URL box to www. I can not make it save the details I put into the FTP Info boxes either so it will not be able to make any changes to the .htaccess file as you suggest. I tried anyway. I also downloaded a new copy of the script to see if the .htaccess was corrupt but it's the same - I paste below:

It seems odd that I have managed to install a few other instances of this script without any problems other than FTP ones - if it makes any difference, I didn't use the FTP option on this install as it never works for me and I just end up CHNODing the files myself anyhow. This time I completely bypassed it and just folowed the help insructions on which files to CHMOD.



Options +FollowSymlinks
RewriteEngine on

RewriteBase /wsnlinks/

RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]



RewriteRule ^admin/?$ admin/index.php

RewriteRule ^links/([a-zäüößèà]+)/([0-9]+)/?$ link.php?action=$1&id=$2
RewriteRule ^links/([0-9]+)/?$ link.php?id=$1

RewriteRule ^thread/([0-9]+)/?$ comments.php?id=$1
RewriteRule ^thread/([0-9]+)/([0-9]+)/?$ comments.php?id=$1&page=$2

RewriteRule ^([0-9]+)/?$ index.php?action=displaycat&catid=$1
RewriteRule ^([0-9]+)/([0-9]+)/?$ index.php?action=displaycat&catid=$1&page=$2

RewriteRule ^([-_/\+A-Za-z0-9äüößèà]+)/?$ index.php?action=displaycat&catname=$1

RewriteRule ^links/([-_/\+A-Za-z0-9äüößèà]+)-([0-9]+).html$ link.php?action=detail&id=$2
RewriteRule ^/([-_/\+A-Za-z0-9äüößèà]+)-([0-9]+).html$ link.php?action=detail&id=$2
Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007

Total Topics: 32
Total Comments: 130
Jez
Posted Jun 14, 2007 - 6:00 AM:

Ok, I ran install.php again and got rid of some of the issues (still can't get the FTP to work) and it looks like the database is at fault as the listings are not prefixed with http:// (just www.) I assumed that the script handled this and fixed the http error? I could have been thinking about another script though. confused
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 15, 2007 - 12:16 PM:

You need to delete that .htaccess, because your directory isn't named wsnlinks. If you want to use url rewriting, submit the SEO page of your admin panel after having deleted the .htaccess.

If you have no http:// that means you typed a bad directory url on setup. You can edit config.php to change it if you don't want to reinstall.
Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007

Total Topics: 32
Total Comments: 130
Jez
Posted Jun 16, 2007 - 7:16 AM:

Thanks Paul and mc19. I got it running ok now I think.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.