Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Dec 1999
Posts: 73
Journeyman
Journeyman
Offline
Joined: Dec 1999
Posts: 73
Hi:

As noted on my previous post I am trying to install the PHP versio and seem to be doing fine. However when running createtabl.php I get what seems to be a path error. Funny things is that it is not on paths that I have to set myself. Take a look if it is not clear:

http://www.mundobar.com/php/wwwthreads/createtable.php

Thanks


Sponsored Links
Joined: Jun 1999
Posts: 77
Journeyman
Journeyman
Joined: Jun 1999
Posts: 77
Are you sure you set the path in main.inc.php? Looks like after you set the path you didn't save it. I think that path is the path that is already there. Maybe Scream should leave all the paths blank.
Thank you,
Bob

[b]Extreme VB Forums -[/b] Visual Basic Help

Joined: Dec 1999
Posts: 73
Journeyman
Journeyman
Offline
Joined: Dec 1999
Posts: 73
Thanks Bob for your answer.
However I set the paths ok (AFAIK and I checked many times)

Here is the path:

$thispath = "/usr/local/etc/httpd/htdocs/php/wwwthreads";

include("$thispath/config.inc.php");
include("$thispath/$config[dbtype].inc.php");
include("$thispath/theme.inc.php");

and wwwthreads is the directory where all the files are...

This is also strange (from my error page when running createtable)
Warning: Failed opening '/usr/local/etc/httpd/htdocs/php/wwwthreads/.inc.php' for inclusion (include_path='') in main.inc.php on line 14
=> it doesnt seem to be getting dbtype rigth, and I didn't change that since it's a mysql database....

Also:
Warning: Failed opening '/usr/local/etc/httpd/htdocs/php/wwwthreads/languages//generic.php' for inclusion (include_path='') in main.inc.php on line 44

=> why is there a // before generic.php? I didn't touch the paths at that level...

I may have made mistakes (I am new at wwwthreads and PHP) but I checked the instructions many times and I can not find it. I am also using vservers as my host, form what I read at this forum I will have a hard time installing this on their servers, but this problem seems to be something else...

thanks





Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
It looks like it isn't reading config.inc.php at all. The // in the languages//generic.php should look like languages/english/generic.php. And like you said it's not reading the config[dbtype]. Unfortunately I haven't a clue of installing on vservers. I know there was some path issue that had to be tweaked when running the PERL version and I'm guessing that this is probably the same type of problem.

Have you looked at any of the posts for installing the PERL version? This might give you an idea of how you need to set the paths.

-------------------
Scream
WWWThreads Developer


UBB.threads Developer
Joined: Dec 1999
Posts: 73
Journeyman
Journeyman
Offline
Joined: Dec 1999
Posts: 73
Yes, but so far what I found is that it won't allow createtable to create the tables for you, so you have to create them yourself (something that I know will be hard but I rather not think of that until I have to deal with it). I have not found any info on paths yet.

Anyway I saw a new version. I am going to try with that one. I don't think that will solve anything, because this seems to be another problem but...


Sponsored Links
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Check the permissions and such of the PHP files. For the best test, try a test file named test.php with:
<? phpinfo(); ?>

I had very similar problems when my permissions were wrong, and I also had a beta of PHP4, not the full version. The test file will tell you if perms are correct (if it runs), and also the PHP version number will be output.


Joined: Dec 1999
Posts: 73
Journeyman
Journeyman
Offline
Joined: Dec 1999
Posts: 73
Thanks LoneVWolf,
I just did that test and it works, however the output is a bit criptic for the non-initiated. The file is at: http://www.mundobar.com/example.php . Can you take a look and tell me if this is a poblematic PHP version? I have read many of your posts while looking at this forum and you seem to be an expert with the wwwthreads/vservers combinatio....

Thanks


Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Damn. That's some old software running.....Time to upgrade Apache just a bit. It was built August 13th 1998 And PHP is a pretty old version. Considering there were like 8 versions of PHP after your's.

Doug
http://www.netherworldrpg.net

Joined: Dec 1999
Posts: 73
Journeyman
Journeyman
Offline
Joined: Dec 1999
Posts: 73
I received a message from vserver support saying that they can not upgrade their PHP version (exact reason seems far too technological for me to understand but it has to do with the way their servers are set up). I wouldn't mind having old software, I dont even run always the latest software versions on my desktop unless I consider they make a real difference, but I would never settle for a beta (when there is another release...).

I don't know if that's the problem (or some other misconfiguration on my side) but if it is I'll have to change hosts again...something that I hate.


Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Thanks for the compliment, and I can indeed help you. You can't run the PHP version on VServers. They have PHP version4.0B2, which is, so far incompatible.


Sponsored Links
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
That's the way they are. I'm sure they told you about the new plan coming out in about January or so, where the user can upgrade their own packages. I would go for that, or just pay them to move you to a more recent server with PHP4 release running on it. They won't upgrade you, mainly because they had to hack it badly to get it running in a shared environment initially, so it's too hard to get it working with a new version. They may, however, have other servers already running the new PHP that they can move your account to. Ask about that, and tell me how it goes! []/w3timages/icons/smile.gif[/]


Joined: Dec 1999
Posts: 73
Journeyman
Journeyman
Offline
Joined: Dec 1999
Posts: 73
Thanks again...
I will write them, I purchased my vserver just for a new project that involved wwwthreads. That was 8 months ago and unfortunately my project suffered several delays so I haven't used the account yet (or my wwwthreads license). I have seen the PHP version and think it's the way to go now (at least if you are just starting to use the software) so I my server, as it is, it's useless for me...
I'll let you know what happens here, as this may be importatn for other vserver users as well...

Regards


Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Yes, please do. The only reason I haven't looked into it further is that moving our server might upset the current balance of things working perfectly, and also that they mention that new plan coming out soon.


Joined: Dec 1999
Posts: 73
Journeyman
Journeyman
Offline
Joined: Dec 1999
Posts: 73
I contacted vservers. They told me about the planned changes, but admitted they don't have a release date yet. The other solution would be to install PHP myself on my vserver, they said.

I didn't know I was able to install that kind of software but I guess such a task would be almost impossible unless you are some kind of unix/apache expert (unfortunately not my situation). They said they can not offer any kind of support on the installation. I guess for me it's basically a good bye from vservers....

Another solution would be to move to a windows 2000 server, that has a nonbeta release of PHP (I don't want to do that). All the unix servers have the same beta version....

Thats all


Joined: Dec 1999
Posts: 73
Journeyman
Journeyman
Offline
Joined: Dec 1999
Posts: 73
BTW they are beta testing the new configuration/new plan. Support said they thought the final release would not take long. From my experience with other hosts (particularly pair) that can mean a long time, but maybe I am wrong....


Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Make PHP into a CGI module and use a .htaccess file.

Doug
http://www.netherworldrpg.net

Joined: Dec 1999
Posts: 73
Journeyman
Journeyman
Offline
Joined: Dec 1999
Posts: 73
Believe me that if I had even an idea of what you mean here []/w3timages/icons/smile.gif[/] I would try it.....


Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Sounds easy until you realize that he's on a hosted server with limited access. I am going to attempt to install PHP4 on our server today, so I'll tell you guys how it goes, but I did try it previously, to no avail.


Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
If they said you can install it yourself, that's really the only solution I could see to install it yourself. I personally don't see another way without them doing it for you...

Doug
http://www.netherworldrpg.net

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Heh....just because a tech guy says to install it yourself, doesn't really mean it's possible.... []/w3timages/icons/wink.gif[/]


Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Since I'm on VServers myself, I'm getting worried after reading this thread. So I decided to do some research on the potential host companies for my wwwthreads php.

One of the companies I found was webpipe.net. It seems it has good user reviews:

http://hosts.php.net/msgboard/list.php3?subgroup=390

I checked their website too and the prices seem very reasonable...cheaper than VServers. But the thing is I've never heard of this webpipe. So if any of you have expirence with them, can you let me know? Also, check their website, why are they much cheaper than VServers? Is there anything missing from the service that I'm not aware of? Any hidden things? Would it run wwwthread php perfectly?

Oh, here I found the link for their phpinfo():

http://web5.webpipe.net/info.php

Is this good or bad?

Thank you.



Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
No idea why it's so cheap. The standard plan appears to be superior to VServers, for half the price. The phpinfo() looks fine, and they even give telnet/SSH and FTP and mySQL. If you try it out, please tell us how it goes!


Joined: Aug 2000
Posts: 262
Enthusiast
Enthusiast
Offline
Joined: Aug 2000
Posts: 262
i am currently on csoft.net they let multiple domains to be hosted on one account. cheap too.. i know that they work with wwwthreads

[:red]--------------
http://extremeforums.org/index

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Hey Patagon...do you want to go first, man?

>>> If you try it out, please tell us how it goes!




Joined: Dec 1999
Posts: 73
Journeyman
Journeyman
Offline
Joined: Dec 1999
Posts: 73
I am the least likely person to go first ( or even last []/w3timages/icons/smile.gif[/] ). I have no experience at all in unix/system administrstion and, even though I would like to start learning about that, I have little time or even talent for that kind of task.... The fact is that even experienced vserver users say that it is not easy, and I haven't used my account at all...
If SO successfuly installs it on a vserver then I'll probably take his/her advice and give it a go, only if they say it's easy enough for the non-experienced user or are willing to give very detailed instructions.....

Because, like I said, I haven't even started with my vserver account, the most likely path that I will take is moving to another host (if they don't give another solution). It would be a shame because I received very good recommendations about their service (and I already paid a lot to them) but with nothing on my server and a project not even started yet, it's probably the most "logical" solution (actually I still have a hope, for no particualr reason, that a solution will come to the rescue of all of us on vservers...)

Good Luck



Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)