Author Topic: Problem with index.php  (Read 11170 times)

0 Members and 1 Guest are viewing this topic.

Offline vsphy

  • Pre-Newbie
  • Posts: 5
    • View Profile
Problem with index.php
« on: April 15, 2003, 06:46:34 PM »
I'm having a problem with installation. I've been following the Installation.txt in the "docs" folder. I go to my directory, fill out my information and then press "start installation". It leads me to a page telling me to upload a config.php file. After I do that, the Installation.txt file tells me to delete "install.php" from my FTP. After doing so, I go to the main directory, but it says that the file can't be found. There is clearly an "index.php" and other files in my FTP, but no files can be reached on the actual site.

I've tried chmodding the files differently, but that doesn't seem to work.

Does anyone have any suggestions for me? I'd really appreciate your help.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Problem with index.php
« Reply #1 on: April 15, 2003, 10:47:54 PM »
Are you sure index.php is configured as a default web page for your site?

Have you tried
http://www.domain.com/4images/index.php

or just
http://www.domain.com/4images

 :?:

Offline vsphy

  • Pre-Newbie
  • Posts: 5
    • View Profile
??
« Reply #2 on: April 15, 2003, 11:41:35 PM »
Yeah, I did, but it still doesn't work.

Offline jakeness

  • Pre-Newbie
  • Posts: 1
    • View Profile
same problem..
« Reply #3 on: April 16, 2003, 12:56:00 AM »
I am having the same problem he. I followed the installation doc, and did everything. I changed the permissions to the numbers it said. I downloaded and replaced the config and I reached the bottom of the installation doc. Now I go to my site http://www.bedtimedivas.com/4images and i also tried http://www.bedtimedivas.com/4images/index.php and they both go to a PAGE CANNOT BE DISPLAYED, it's a dead page. So I'm having the same problem, can you help me get out of this mess please? Thanks.

Offline einradfreak

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • http://www.einradfreak.at/4images
Problem with index.php
« Reply #4 on: April 16, 2003, 01:22:36 AM »
I've had the same problem. And i found the solution here:
http://4homepages.de/forum/viewtopic.php?t=3319
it was the config.php file, that didn't work properly.
make sure, that all required information is inside the config.php file and it does not look like this:

$db_servertype =

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Re: same problem..
« Reply #5 on: April 16, 2003, 04:42:16 AM »
Quote from: jakeness
I am having the same problem he. I followed the installation doc, and did everything. I changed the permissions to the numbers it said. I downloaded and replaced the config and I reached the bottom of the installation doc. Now I go to my site http://www.bedtimedivas.com/4images and i also tried http://www.bedtimedivas.com/4images/index.php and they both go to a PAGE CANNOT BE DISPLAYED, it's a dead page. So I'm having the same problem, can you help me get out of this mess please? Thanks.


Your page isn't dead.  It has bad config info.

That issue is also covered in the FAQ under "problems with config.php"

Offline vsphy

  • Pre-Newbie
  • Posts: 5
    • View Profile
Crud...
« Reply #6 on: April 16, 2003, 08:07:09 PM »
Ok... I had it working, but something else came up. See, I have the whole gallery there in English, but on the main page, at the top, it says:

Quote
Warning: Cannot modify header information - headers already sent by (output started at /home/water-dr/public_html/e/config.php:35) in /home/water-dr/public_html/e/includes/sessions.php on line 85

Warning: Cannot modify header information - headers already sent by (output started at /home/water-dr/public_html/e/config.php:35) in /home/water-dr/public_html/e/includes/sessions.php on line 85

Warning: Cannot modify header information - headers already sent by (output started at /home/water-dr/public_html/e/config.php:35) in /home/water-dr/public_html/e/includes/sessions.php on line 85


and on other pages I get similar errors. I recently started using PHP, so I'm not sure how to fix this. Suggestions?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Crud...
« Reply #7 on: April 16, 2003, 08:23:19 PM »
Quote from: vsphy
I'm not sure how to fix this. Suggestions?

The answer in FAQ forum ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline vsphy

  • Pre-Newbie
  • Posts: 5
    • View Profile
More Problems X_x
« Reply #8 on: April 18, 2003, 02:50:21 AM »
Ok... I'm hoping this will be my last problem.

When I try to upload stuff, I fill in all the information and press "Add". I get an error like

Quote
Warning: move_uploaded_file(./../data/media/17/Image.gif) [function.move-uploaded-file]: failed to create stream: No such file or directory in /home/water-dr/public_html/e/includes/upload.php on line 114

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpvG6bho' to './../data/media/17/Image.gif' in /home/water-dr/public_html/e/includes/upload.php on line 114
Image 1  
  Error uploading image file: Image.gif
Image.gif: Copy error. Please check the directory permissions.

No database entry!


I've checked around and several others have had this problem, but none of them got a solution.

I checked my CHMODDing several times and it still doesn't work.

I'm completely stumped  :?.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Problem with index.php
« Reply #9 on: April 24, 2003, 06:52:09 AM »
Did you accidentally delete category directory 17 by mistake???

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Problem with index.php
« Reply #10 on: April 24, 2003, 04:24:10 PM »
did u try the fix from FAQ?

*being an )( I'm not gonna post direct link to the thread*
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)