Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-11-08 00:01:30
- Avcil
- New Member
- Registered: 2007-11-07
- Posts: 5
Stumped and need help getting started.
Hello all and thanks in advance for the help.
I’m a little stumped & frustrated right now. I have been following the instructions searched out on this forum and via Textbook as to getting started but I have finally resorted to making this post as I’m not sure what the problem is or how to resolve it.
Basically, after installing txp on my domain I now can’t get the front page to load up in a browser.
I’m sure the answer is real simple but I need some confirmation of a few things.
1> Does the mysql server need to be Unix or is Windows okay (due to chmod access etc) as there is no mention of this?
I was (at one point) getting an error stating I needed to chmod 777 a file.
After creating a /files directory this error message dissappeared so I just assumed it was due to there not being a directory to write to, hence the error message.
I followed through the test in Textbook on setting up clean url’s and couldn’t even get my newly uploaded page to appear in a browser.
I am probably not as experienced as most of you but I have been making sites with HTML for a few years so I know the basics of creating and uploading pages/sites.
I just deleted the content (backed up ofc) so I could clean install txp on my domain but now I can’t even get any uploaded index.html file to load in a browser.
I have deleted setup directory.
I have deleted the duplicate config.php file (the default one).
My txp Diagnostics look like this:
[quote]
Textpattern version: 4.0.5 (r2466)
Last Update: 2007-11-07 21:32:04/2007-11-07 21:22:53
Document root: e:\\domains\\j\\junktionweaver.co.uk\\user\\htdocs (e:\domains\j\junktionweaver.co.uk\user\htdocs)
$path_to_site: e:\domains\j\junktionweaver.co.uk\user\htdocs
Textpattern path: e:\domains\j\junktionweaver.co.uk\user\htdocs\textpattern
Permanent link mode: messy
upload_tmp_dir: C:\PHP\uploadtemp
Temporary directory path: e:\domains\j\junktionweaver.co.uk\user\htdocs\images
Site URL: www.junktionweaver.co.uk
PHP version: 4.4.4
GD Image Library: bundled (2.0.28 compatible); supported formats: GIF, JPG, PNG.
Server Local Time: 2007-11-07 23:54:29
MySQL: 5.0.22
Locale: English_United Kingdom.1252
Server: Microsoft-IIS/6.0
PHP Server API: isapi
RFC 2616 headers:
Server OS: Windows NT 5.2
Pre-flight check:
————————————
Some Textpattern files have been modified:
/include/txp_category.php,
/include/txp_plugin.php,
/include/txp_auth.php,
/include/txp_form.php,
/include/txp_section.php,
/include/txp_tag.php,
/include/txp_list.php,
/include/txp_page.php,
/include/txp_discuss.php,
/include/txp_prefs.php,
/include/txp_log.php,
/include/txp_preview.php,
/include/txp_image.php,
/include/txp_article.php,
/include/txp_css.php,
/include/txp_admin.php,
/include/txp_link.php,
/include/txp_diag.php,
/include/txp_file.php,
/include/txp_import.php,
/lib/admin_config.php,
/lib/txplib_misc.php,
/lib/taglib.php,
/lib/txplib_head.php,
/lib/classTextile.php,
/lib/txplib_html.php,
/lib/txplib_db.php,
/lib/IXRClass.php,
/lib/txplib_forms.php,
/lib/class.thumb.php,
/lib/constants.php,
/lib/txplib_update.php,
/lib/txplib_wrapper.php,
/publish/taghandlers.php,
/publish/atom.php,
/publish/log.php,
/publish/comment.php,
/publish/search.php,
/publish/rss.php,
/publish.php,
/index.php,
/css.php
————————————
.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php
</IfModule>
#php_value register_globals 0
————————————
[/quote]
I am able to access txp via browser but I just can’t get my frontpage to update.
Sorry for the noobness but I appreciate any help you can offer and if this works out I’ll hopefully be using this system for a while.
Also if this help heres the latest error message I got whn attempting to access the frontpage:
[quote]
If you just updated and expect to see your site here, please also update the files in your main installation directory. (Otherwise note that publish.php cannot be called directly.)
Fatal error: Call to undefined function: textpattern() in e:\domains\j\junktionweaver.co.uk\user\htdocs\index.php on line 39
[/quote]
Last edited by Avcil (2007-11-08 01:14:57)
Offline
Re: Stumped and need help getting started.
first of all, for a fresh install thats a whole lot of modified files in the pre-flight check area! my best guess is either something is odd with your ftp client uploading them incorrectly or a proper copy of checksums.txt isn’t present.
secondly, i noticed at http://www.junktionweaver.co.uk/textpattern/ that the ‘view site’ link attempts to point to a secure server (https instead of http). this seems to happen for some setups under IIS (no idea why as i avoid windows servers like the plague). this faq entry should at least clear that area up though.
i doubt these steps will solve all of your issues but im sure someone else more familiar with the problem will be around soon.
Offline
#3 2007-11-08 09:20:46
- Avcil
- New Member
- Registered: 2007-11-07
- Posts: 5
Re: Stumped and need help getting started.
Thanks for the response.
Well spotted with the ‘https’, that had me baffled for a while but the ‘view site’ link is working as should be now with the line added in config.php to force the ‘http’.
Still not viewing the site but its actually giving me the following error (instead of a 404);
If you just updated and expect to see your site here, please also update the files in your main installation directory. (Otherwise note that publish.php cannot be called directly.)
Fatal error: Call to undefined function: textpattern() in e:\domains\j\junktionweaver.co.uk\user\htdocs\index.php on line 39
Not quite sure what it means in this error message by ‘..please also update your files in your main installation directory’.
How does Textpattern work? I assumed going by the layout that after creating content etc, it altered your site roots index.php file. Is this wrong?
I’m actually using Dreamweaver CS3 to upload files to my server.
Your response has also raised a few additional questions with me;
How ‘safe’ is Textpattern? Seems anyone can access the editor atm or is there some step that I haven’t come across yet to make accessibility secure to authors only?
Which server type will it have less problems with?
Atm its on a ‘Windows Server 2003 with ASP’ but I can switch over to a Linux based server pretty fast.
Anway, thanks for any further help on these matters.
Offline
Re: Stumped and need help getting started.
How ‘safe’ is Textpattern? Seems anyone can access the editor atm or is there some step that I haven’t come across yet to make accessibility secure to authors only?
No, only registered users can access the backend. As for security – Textpattern is really secure, as secure as other common CMSs.
Cheers!
Offline
#5 2007-11-09 03:02:42
- Avcil
- New Member
- Registered: 2007-11-07
- Posts: 5
Re: Stumped and need help getting started.
Thank for the responses but I’m still stuck with an error message and no idea how to fix it.
Offline
Re: Stumped and need help getting started.
all i can recommend is re-upload the files as your diagnostics definitely should not say all of those files have been modified. try using a normal ftp client.
Offline
Re: Stumped and need help getting started.
Gocom wrote:
As for security – Textpattern is really secure, as secure as other common CMSs.
We’re try to be more secure, actually, and I think we’re doing pretty okay in that area ;)
And the topic starter should follow the advice that iBlastoff gives. TXP files should not show up as modified in the diagnostics unless you modified them yourself on purpose.
Last edited by ruud (2007-11-09 10:23:37)
Offline
#8 2007-11-09 23:08:18
- Avcil
- New Member
- Registered: 2007-11-07
- Posts: 5
Re: Stumped and need help getting started.
iblastoff wrote:
all i can recommend is re-upload the files as your diagnostics definitely should not say all of those files have been modified. try using a normal ftp client.
Well I wiped the mysql database and the txp files and did a clean reinstallation this time using FileZilla to upload as suggested.
Diagnostics showed a few errors, same as previous.
No /images directory to write to , so I made one and that went away.
Setup directory needed deleting, did that.
Heres the rest:
Textpattern version: 4.0.5 (r2466)
Last Update: 2007-11-09 23:01:25/2007-11-09 22:55:35
Document root: e:\\domains\\j\\junktionweaver.co.uk\\user\\htdocs (e:\domains\j\junktionweaver.co.uk\user\htdocs)
$path_to_site: e:\domains\j\junktionweaver.co.uk\user\htdocs
Textpattern path: e:\domains\j\junktionweaver.co.uk\user\htdocs\textpattern
Permanent link mode: messy
upload_tmp_dir: C:\PHP\uploadtemp
Temporary directory path: e:\domains\j\junktionweaver.co.uk\user\htdocs\textpattern\tmp
Site URL: www.junktionweaver.co.uk
PHP version: 4.4.4
GD Image Library: bundled (2.0.28 compatible); supported formats: GIF, JPG, PNG.
Server Local Time: 2007-11-09 23:03:57
MySQL: 5.0.22
Locale: English_United Kingdom.1252
Server: Microsoft-IIS/6.0
PHP Server API: isapi
RFC 2616 headers:
Server OS: Windows NT 5.2
Pre-flight check:
————————————
e:\domains\j\junktionweaver.co.uk\user\htdocs/index.php is inaccessible
Some Textpattern files have been modified:
/include/txp_category.php,
/include/txp_plugin.php,
/include/txp_auth.php,
/include/txp_form.php,
/include/txp_section.php,
/include/txp_tag.php,
/include/txp_list.php,
/include/txp_page.php,
/include/txp_discuss.php,
/include/txp_prefs.php,
/include/txp_log.php,
/include/txp_preview.php,
/include/txp_image.php,
/include/txp_article.php,
/include/txp_css.php,
/include/txp_admin.php,
/include/txp_link.php,
/include/txp_diag.php,
/include/txp_file.php,
/include/txp_import.php,
/lib/admin_config.php,
/lib/txplib_misc.php,
/lib/taglib.php,
/lib/txplib_head.php,
/lib/classTextile.php,
/lib/txplib_html.php,
/lib/txplib_db.php,
/lib/IXRClass.php,
/lib/txplib_forms.php,
/lib/class.thumb.php,
/lib/constants.php,
/lib/txplib_update.php,
/lib/txplib_wrapper.php,
/publish/taghandlers.php,
/publish/atom.php,
/publish/log.php,
/publish/comment.php,
/publish/search.php,
/publish/rss.php,
/publish.php,
/index.php,
/css.php
————————————
Still lots of modified files, not sure what I’m doing wrong tbh.
Last edited by Avcil (2007-11-09 23:09:50)
Offline
#9 2007-11-11 00:58:06
- Avcil
- New Member
- Registered: 2007-11-07
- Posts: 5
Re: Stumped and need help getting started.
Okay I think I fixed the problem.
I basically hadn’t uploaded an index.php to my site root this last installation (although I had the time before but nm) so I did that and I added a line to config.php (which I had also done before..the mind boggles) which made the ‘view site’ link point to http:// instead of https://.
Oh yeah and I think the main problem was there was no .htaccess file in the root.
Other than that, I don’t know what all the changed files mean in my diagnostics, but at least I get a page loading at my main url now.
Thanks.
Last edited by Avcil (2007-11-11 00:59:14)
Offline
Pages: 1