Help - Search - Members - Calendar
Full Version: Page Not Found (strange Folder Paths)
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
AdminX
Well, I uploaded phpdirector using filezilla, but cannot open any webpages (404 not found) but then again I can see why but surely this should not happen..

eg:

Warning: require_once(admin_header.php) [function.require-once]: failed to open stream: No such file or directory in /www/vndv.com/a/d/-/ad-zone/htdocs/admin/login.php on line 14

why are my files in the htdocs folder - it is not my folder! - shouldn't the htdocs folder be above the root of my website - like this:

htdocs/ad-zone/admin/login.php
Dave

htdocs is just the server's name for your root folder.
AdminX
QUOTE(Dave @ Jul 21 2009, 05:32 PM) *
htdocs is just the server's name for your root folder.


Yes I know that, but I cannot open any file because php tells me the file structure is Not Found, its either that or phpdirector is also wrong in its all its file structures and php includes......

I am looking at index.php, it is supposedly in the right place but I get either 404 Not Found or currently not available...

The only other reason is that phpdirector has one of its config/includes files blocked... but I kinda doubt that.
DroNix
try chmoding your install folder to 777 before installing it.
AdminX
QUOTE(DroNix @ Jul 22 2009, 03:24 AM) *
try chmoding your install folder to 777 before installing it.


The reason I am usure about these paths is because I installed PHPDirector on my own apache server using Wamp, it took just 2 or 3 minutes to do and installed 100% correctly... the paths on my server are

C:\wamp\www\WEBSITENAME\index.php\folders

where the folder www in the above line is usually the equivalent of your htdocs folder (at least on many other servers I have used)

Next I simply uploaded all the relevant files and folders via FileZilla (all are modded to 777) and changed the dbase names, pass and paths and this is where I note that Zymic has a different path from both me and PHPDirector...

your current paths are:

/www/vndv.com/a/d/-/WEBSITENAME/htdocs/index.php/folders...

surely this should be:

/www/vndv.com/a/d/-/htdocs/WEBSITENAME/index.phpfolders....

Using the Zymic file path produces 404 Not Found errors, yet adding what I would assume to be correct also does the same because I cannot put the index file in the main website folder which is where it should really be...

Any ideas how to get around this? Perhaps using htaccess or re-writing the file paths in PHPDirector ?(PHPDirector is a video website that does NOT use serverside videos nor ffmpeg - it only uses embeded videos from other websites).
DroNix
your zymic web hosting path is different from your local web server. If you uploaded phpdirector to a subfolder within your site then change the permission of that folder to 777. If you did not create a subfolder and just uploaded all the files into your site then try changing the file permissions for the install folder etc.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.