473,698 Members | 2,588 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Which folders/ files to download from a php site for offline work?

I have to work on a website (in php).

I downloaded index.php and when I loaded it through my wamp localhost
php installation, it gave some errors mentioning the file names, from
includes\ so I downloaded them.

now it is just saying
"No configuration file found and no installation code available. Exiting..."

It is not even telling the filenames it needs to run that site offline.

Which minimum folders/ sites I must download to make the site run from
localhost.

of course it would depend on how the site is coded, but still, are there
some sure minimum folders/ files that a php installation would keep -
like cgi-bin/ cgi-sys are mandatory for a perl based work.

Doesn't matter if pics/ graphics/ database are not there. I just want to
run the index.php from localhost.

Thanks.
--
V
Sep 20 '08 #1
3 2823

"V S Rawat" <vs*****@gmail. comwrote in message
news:gb******** **@aioe.org...
>I have to work on a website (in php).

I downloaded index.php and when I loaded it through my wamp
localhost php installation, it gave some errors mentioning the file
names, from includes\ so I downloaded them.

now it is just saying
"No configuration file found and no installation code available.
Exiting..."

It is not even telling the filenames it needs to run that site
offline.

Which minimum folders/ sites I must download to make the site run
from localhost.

of course it would depend on how the site is coded, but still, are
there some sure minimum folders/ files that a php installation would
keep - like cgi-bin/ cgi-sys are mandatory for a perl based work.

Doesn't matter if pics/ graphics/ database are not there. I just
want to run the index.php from localhost.

Thanks.
--
V
Hi V,
it looks like the site is looking for configuration files, the message
you mention is not a PHP error or warning.
You have to go through the code to see what files it is looking for
and what the installation code is.
What files it needs is totally dependent on how the site is
programmed. No general solution possible.

You could just try copying files and see when it starts to work.
Or start from the other side and copy everything, then delete files
one by one until it stops working.

Good luck,
Richard
Sep 20 '08 #2
V S Rawat wrote:
I have to work on a website (in php).

I downloaded index.php and when I loaded it through my wamp localhost
php installation, it gave some errors mentioning the file names, from
includes\ so I downloaded them.

now it is just saying
"No configuration file found and no installation code available.
Exiting..."

It is not even telling the filenames it needs to run that site offline.

Which minimum folders/ sites I must download to make the site run from
localhost.

of course it would depend on how the site is coded, but still, are there
some sure minimum folders/ files that a php installation would keep -
like cgi-bin/ cgi-sys are mandatory for a perl based work.

Doesn't matter if pics/ graphics/ database are not there. I just want to
run the index.php from localhost.

Thanks.
Sounds like they might be using a CMS. If so, you'll need to install the
CMS on your system. Some of the data might even be in a SQL database.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===

Sep 20 '08 #3
r0g
V S Rawat wrote:
I have to work on a website (in php).

I downloaded index.php and when I loaded it through my wamp localhost
php installation, it gave some errors mentioning the file names, from
includes\ so I downloaded them.

now it is just saying
"No configuration file found and no installation code available.
Exiting..."

It is not even telling the filenames it needs to run that site offline.

Which minimum folders/ sites I must download to make the site run from
localhost.

of course it would depend on how the site is coded, but still, are there
some sure minimum folders/ files that a php installation would keep -
like cgi-bin/ cgi-sys are mandatory for a perl based work.

Doesn't matter if pics/ graphics/ database are not there. I just want to
run the index.php from localhost.

Thanks.
On many site's you won't be able to 'run the index.php' without the
database and/or some other config files so get _all_ of the files if
that's practical, and a dump of the database behind it. If you then have
any absolute path issues you can use hosts/mod_rewrite to make it think
it's at home, or better still rewrite the absolute stuff to be relative.
Roger.
Sep 21 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3940
by: BT Openworld | last post by:
I have just had to upgrade to Access 2003 as Access 97 EMail (SendObject) doesn't work when loaded on Windows XP. I'm finding my way around Access 2003 but my biggest problem is getting information. When I bought Access 1.0 many years ago, I got a paper manual and an excellent help file with all you needed to know. With Access 97 the manual came as a 'Building Applications' document on the CD and I still had the excellent help. With Access...
4
7551
by: Jonas Hei | last post by:
I've noticed that one can use IE to test web pages (by going on http://hostname/blah/blah.asmx - and then it shows a list of methods supported by the webservice, and on selecting each method once gets the option to specify the parameters and then 'Invoke' the service). Although, this option is extremely handy, are their any other options/tools/etc that can provide such functionality but in a more conveinient format? I tried googling...
0
1296
by: Gerard | last post by:
Hi, I have written an application that needs to monitor changes to a synchronized offline folder while the user is *not* connected to the network. I have used the FileSystemWatcher and it works beautifully while the user is connected to the network, however as soon as they are in an offline state the FileSystemWatcher ceases to receive any events. I can't find any documentation regarding file system events in offline folders, does...
3
1614
by: jerryyang_la1 | last post by:
I'm looking for a script / scripts that will allow me to control files that users can download. I would like to create 'General Folder' that any registered user can download from and private folders that only the specified registered user can download from. This needs to be simple to manage and simple to download from. Any Ideas ?
13
4883
by: anil.rita | last post by:
When the user chooses an AV file to play, based upon the type of file, I want to use the default installed media player to play it. I am wondering if this is a good way - any alternatives, suggestions or improvements? if( wmv file) document.write("<OBJECT id=Player classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 height="354" width="479">
1
1253
by: =?Utf-8?B?QW5kcmV3IFA=?= | last post by:
I'm having trouble setting up offline folders with encryption under WinXP. I've followed the guidance provided here: http://support.microsoft.com/kb/312221 but when I try to synchronise I get "Access denied" errors - the folder structure is setup ok, the files are not copied over. The user has administrator-level privileges on the PC (not the domain) and is the owner of the files. I can successfully synchronise offline folders without...
1
1137
by: alqui | last post by:
Hi, I'm actually trying to resolve a simple problem. I'm trying to build my Web site. The structure of the Web site looks like that : /Element /Element/App_Code /Element/Admin /Element/Modules /UserControls There are aspx pages in every folders except /UserControls where all my ascx
8
1760
by: =?Utf-8?B?QnJ5YW4=?= | last post by:
Hello group. I have some code (given to me), but I don't know alot about ASP, so I was hoping someone here can help. Running on Win 2008 server. The code below will scan a folder and subfolder with a date/time input and return xml structure off all files that are newer than the supplied date/time. The problem is that the returned xml has path names like C:\folder\subfolder\filename.ext I would like it to be more like...
0
1405
by: samz | last post by:
Hello, Here is a simple PHP recursive file list (with interactive and visual FX) Sam's Files http://acc.jexiste.ch/JPN/RecurciveDIR12.RAR 1. How to ignore/avoid empty folders in this PHP script ? 2. How to sort files by filename (and, if possible, folders on top) ? 3. Is this MAILTO hidden tool still useful against the current Spam robots ? Mysterious Ways - Hide Email Addresses from Spam Harvesters 4. Is my SpamPoison tag useful if I...
0
8609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9169
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9030
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7738
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.