Buy Sell Discuss UK Domain Names at AcornDomains.co.uk affiliate window

Today's Drop Dates are: 19-02-2012 or 26-02-2012   All times are GMT. The time now is 12:39:29 PM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration NameDrive Domain Parking Subscribe to our Domains For Sale newsletter
Go Back   Domain Forum Acorn Domains Buy Sell Auction UK Domains > Website Design and Promotion > Website Design > Scripts and Coding
Connect with Facebook

Scripts and Coding PHP, MySQL, scripts

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 20-03-2010, 10:25:46 AM     #1 (permalink)

 
charlie's Avatar
 
Join Date: Jul 2004
Location: No fixed abode
Posts: 2,592
charlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond repute

Php News

I'm trouble implementing some php news code that works from an XML file

If the xml doesnt exisit it creates the file but when creating the news file, i get this error:

Warning: DOMDocument::save(news.xml) [domdocument.save]: failed to open stream: Permission denied in /home/public_html/news2/add.php on line 81

I have also noticed that i cant upload an XML file the server - is there something i need to change?

any help much appreciated
charlie is offline  
Old 22-03-2010, 08:44:36 PM     #2 (permalink)

 
charlie's Avatar
 
Join Date: Jul 2004
Location: No fixed abode
Posts: 2,592
charlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond repute

Anyone put me in contact with a decent PHP developer
XML script i need fixing urgent
PM me a freelancer if you like??
charlie is offline  
Old 22-03-2010, 10:00:32 PM     #3 (permalink)

 
Join Date: May 2007
Posts: 1,148
monaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond repute

Obvious question? - You do have file write permissions on the directory you are putting the xml file into?
__________________
Alex Monaghan - Drop Catch & Drop Lists - PM for details
Online Accounting|Pine Furniture|Barbie
monaghan is online now  
Old 22-03-2010, 10:12:00 PM     #4 (permalink)

 
charlie's Avatar
 
Join Date: Jul 2004
Location: No fixed abode
Posts: 2,592
charlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond repute

yeap full permissions 777
add works fine, edit and delete dont
charlie is offline  
Old 22-03-2010, 11:16:18 PM     #5 (permalink)

 
Skinner's Avatar
 
Join Date: Jul 2008
Location: Manchester
Posts: 2,507
Skinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond repute

Does the script have write permissions ?

One of my clients servers has to have the EXACT chmod settings due to some whacky settings.

I think it has to be set to 775, anything else and the script is blocked, on the same client, you have to chmod the script/file, the created (xml file) AND the directory. Can you try all that ?
__________________
Browse:
Skinner is offline  
Old 22-03-2010, 11:59:38 PM     #6 (permalink)

 
charlie's Avatar
 
Join Date: Jul 2004
Location: No fixed abode
Posts: 2,592
charlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond repute

have tired no luck
trouble is it didnt work on the developers server either - so cant be sure its permissions or bad code.

Normally with permissions you get an on screen error - i'm getting nothing
charlie is offline  
Old 23-03-2010, 12:14:20 AM     #7 (permalink)

 
Skinner's Avatar
 
Join Date: Jul 2008
Location: Manchester
Posts: 2,507
Skinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond reputeSkinner has a reputation beyond repute

Have you turned error reporting on or checked your error log?

http://www.bradino.com/php/error-reporting/
__________________
Browse:
Skinner is offline  
Old 23-03-2010, 12:16:06 AM     #8 (permalink)

 
charlie's Avatar
 
Join Date: Jul 2004
Location: No fixed abode
Posts: 2,592
charlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond reputecharlie has a reputation beyond repute

can i "big up" davedevelopment who kindly took on this coding issue and fixed it!

very much appreciate the advice and services given by the members of this forum especially when its saved me a lot of head scratch and stress . . dummies guide to php would have been tomorrows purchase!

Dave - top man - many thanks again for your assistance with this

note to self: dont take on jobs that require php!
charlie is offline  
Closed Thread



Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
PHP news script charlie Scripts and Coding 1 08-03-2010 01:50:28 PM

75% off Domains at Network Solutions®.


All times are GMT. The time now is 12:39:29 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 RC 2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".