Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : New to PHP



Threaded Mode | Print  

 New to PHP, copies web site from windows server to OSX (3 Replies, Read 2634 times)
tease1
Group: Member
Post Group: Newbie
Posts: 2
Status:
:-( My daughter's web site was written by someone she hired using PHP.
I didn't realize this when I offered to host her site on my server. (I know nothing about php I've only written web sites in HTML).
I ftp'd all of the files from her server to my server.
The domain name now points to my server.  I can't view her web pages.  I've loaded a test html page to her site and it works fine. So, her domain is pointing to my server.
So I downloaded the AMMPs files.  But I don't have a clue what to do to allow the world to see her web pages.  I'm running a Mac Mini Server running Snow Leopard 10.6.8.  Php 5 module is enabled on my server.

IP: --   

New to PHP
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

AMPPS won't allow you to upload files on your server. You will have to do it manually. Its a MAMP Stack for development purpose. Means you can modify your files locally and then upload it to your server.

Edited by tidus : April 12, 2012, 4:32 am

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

New to PHP
tease1
Group: Member
Post Group: Newbie
Posts: 2
Status:
I've uploaded the files manually to my server. 
When accessing the domain nothing happens.
When I check my error log I get multiple error messages.
Such as:
[Thu Apr 12 10:49:27 2012] [error] [client 207.46.13.145] PHP Warning:  preg_replace_callback(): Compilation failed: missing ) at offset 373 in /Volumes/Data1/Web/FullRadiance_site/app/parsers/markdown-parser.inc.php on line 696
[Thu Apr 12 10:49:27 2012] [error] [client 207.46.13.145] PHP Warning:  preg_replace_callback(): Compilation failed: missing ) at offset 692 in /Volumes/Data1/Web/FullRadiance_site/app/parsers/markdown-parser.inc.php on line 723
[Thu Apr 12 10:49:27 2012] [error] [client 207.46.13.145] PHP Warning:  preg_replace_callback(): Compilation failed: missing ) at offset 140 in /Volumes/Data1/Web/FullRadiance_site/app/parsers/markdown-parser.inc.php on line 737
[Thu Apr 12 10:49:27 2012] [error] [client 207.46.13.145] PHP Warning:  preg_replace_callback(): Compilation failed: missing ) at offset 299 in /Volumes/Data1/Web/FullRadiance_site/app/parsers/markdown-parser.inc.php on line 1466
[Thu Apr 12 10:49:27 2012] [error] [client 207.46.13.145] PHP Warning:  preg_split(): Compilation failed: missing ) at offset 440 in /Volumes/Data1/Web/FullRadiance_site/app/parsers/markdown-parser.inc.php on line 1558
[Thu Apr 12 10:49:27 2012] [error] [client 207.46.13.145] PHP Warning:  preg_split(): Compilation failed: missing ) at offset 440 in /Volumes/Data1/Web/FullRadiance_site/app/parsers/markdown-parser.inc.php on line 1558
[Thu Apr 12 10:49:27 2012] [error] [client 207.46.13.145] PHP Warning:  preg_replace_callback(): Compilation failed: missing ) at offset 374 in /Volumes/Data1/Web/FullRadiance_site/app/parsers/markdown-parser.inc.php on line 819
[Thu Apr 12 10:49:27 2012] [error] [client 207.46.13.145] PHP Warning:  preg_replace_callback(): Compilation failed: missing ) at offset 699 in /Volumes/Data1/Web/FullRadiance_site/app/parsers/markdown-parser.inc.php on line 848
[Thu Apr 12 10:49:27 2012] [error] [client 207.46.13.145] PHP Warning:  preg_replace_callback(): Compilation failed: missing ) at offset 373 in /Volumes/Data1/Web/FullRadiance_site/app/parsers/markdown-parser.inc.php on line 696
[Thu Apr 12 10:49:27 2012] [error] [client 207.46.13.145] PHP Warning:  preg_replace_callback(): Compilation failed: missing ) at offset 692 in /Volumes/Data1/Web/FullRadiance_site/app/parsers/markdown-parser.inc.php on line 723
[Thu Apr 12 10:49:27 2012] [error] [client 207.46.13.145] PHP Warning:  preg_replace_callback(): Compilation failed: missing ) at offset 140 in /Volumes/Data1/Web/FullRadiance_site/app/parsers/markdown-parser.inc.php on line 737
[Thu Apr 12 10:49:27 2012] [error] [client 207.46.13.145] PHP Warning:  preg_replace_callback(): Compilation failed: missing ) at offset 299 in /Volumes/Data1/Web/FullRadiance_site/app/parsers/markdown-parser.inc.php on line 1466

Any ideas or do I just create the web site from scratch using HTML or have my daughter go back to the prior server where she was paying an annual fee (The files are still on their server.) 
IP: --   

New to PHP
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

We won't be able to guide you proper on this. You can take help from other PHP forums.

To me it looks like PHP code problem or some deprecated function of PHP is used in the code. Like I said we won't be sure about this problem.

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 5:09 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.030