vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Invalid Path File to Php File??? (https://vborg.vbsupport.ru/showthread.php?t=262153)

TopShelfGamer 04-17-2011 06:28 PM

Invalid Path File to Php File???
 
I am using vba cmps and i am attempting to install a trade manager on my site. I bought a site and it has the trade manager so i am trying to just duplicate everything and test from there.

When i goto create the trademanager page in cmps and i put in the path to the php file i am getting this error.


Here is what it tells me to input
Path to File
Here you may specify the path to a file to include which will replace the content of your 'Custom Page Content' module.

Here is what i input
/home/topshe7/public_html/forum/trademanager.php

That is exactly where the file is.

Here is the error i am getting when i try and save the page.

Code:

The path you have specified for your PHP File path is not a valid file on your server. Please go back and enter the full path (NOT the URL) to this file.

kh99 04-17-2011 06:43 PM

Are you sure the permissions on the file are correct (i.e. readable by whatever user the web server is running as)?

TopShelfGamer 04-17-2011 06:48 PM

Quote:

Originally Posted by kh99 (Post 2185737)
Are you sure the permissions on the file are correct (i.e. readable by whatever user the web server is running as)?

very good point, i am just learning that kind of stuff. What value should be made to be readable by anything?

Is there a place i can find more of these values to reference for future use?

kh99 04-17-2011 07:11 PM

I'm not sure what to tell you because it depends on your OS and what ftp software you're using (if that's what your using). If you have a linux server you shouldn't have any problem finding info about file permissions somewhere on the web.

Anyway, I'd set it to the same owner and group as well as permissions that the vB files have (which I think you should be able to do through your ftp program, if that's what you're using).

Now that I think about it, if you uploaded that file the same way as you did the vB files then maybe permissions aren't the problem after all.

TopShelfGamer 04-17-2011 07:20 PM

That was actually the problem, i use filezilla and just adjusted the permissions to read and it worked..

Now if i can only find out what in the wolrd this db error is im getting


All times are GMT. The time now is 09:19 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00951 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete